Page 1 of 1
CMSmadesimple work as multisite platform?
Posted: Mon Jun 25, 2007 5:45 pm
by nuno
Hello,
I like very much the CMSmadesimple, congratulations for eficient and intelligent project.
Exists the possibility of the CMSmadesimple work as a multisite platform, like the drupal?
E.g.: 10 customers alone with an installation and each customer with its template and its modulos, will be possible?
SORRY the bad English!
Re: CMSmadesimple work as multisite platform?
Posted: Mon Jun 25, 2007 7:45 pm
by cyberman
No, currently not - it's on roadmap for the past 2.0 version
http://cmsmadesimple.org/main/roadmap
Re: CMSmadesimple work as multisite platform?
Posted: Mon Jun 25, 2007 9:02 pm
by nuno
ok thanks, it's an idea
Re: CMSmadesimple work as multisite platform?
Posted: Tue Jun 26, 2007 11:06 am
by Pierre M.
Hello nuno,
BTW : I don't see the full page caching feature of 2.0 listed in the roadmap although it is already implemented. So I bet this roadmap about 2.0 has only the "not yet finished" features.
As Cyberman has said, there is no builtin multisite feature. But if you have a unix hands on hosting, you can bypass the current limitation :
-a site in CMSms is a config.php file and a set of prefixed database objects (
shared db).
-a fake "virtualhost" installation could be a set of symlinks (instead of actual .php files) to the actual unique installation except the specific config.php file.
So symlink an installation except config.php and make a tar to reproduce this virtual folders. Then "install" (untar) as many times as you want.
And
switching from "$_SERVER["HTTP_HOST"]" in index.php should be even better. I bet this is
easy to implement (choosing the config.php file to include according to the HTTP request). Please, nice devteam...

Hope this helps
Pierre M.
Re: CMSmadesimple work as multisite platform?
Posted: Tue Jun 26, 2007 2:21 pm
by nuno
thanks Pierre,
I only work the 2 weeks in cmsms and in my opinion cms is optimum waits that it continues to grow
you give me please a practical example to me of these configurations?
He can be tested in localhost? Already I made this with drupal editing vhost in windows and the apache and worked well!
Nuno Costta
Re: CMSmadesimple work as multisite platform?
Posted: Tue Jun 26, 2007 5:30 pm
by Pierre M.
Hello Nuno,
I haven't any pratical example at hand.
Nothing prevents anybody to test building the tar on a localhost as long as this localhost has nice unix symlinks.
But I think the switch way is the easiest : I bet it should happen in fileloc.php to load vhost/domain123.net/config.php rather than config.php when $_SERVER["HTTP_HOST"] is domain123.net
I'm sure a hobbyist dev can implement this (as a hint or tips, before inclusion in 2.0). As I speak for the front end only, I may be too optimistic, it may be more difficult for the backend to work so easyly too.
Pierre M.
Re: CMSmadesimple work as multisite platform?
Posted: Tue Jun 26, 2007 8:24 pm
by nuno
but de backend!!!!!! IS A PROBLEM??
Re: CMSmadesimple work as multisite platform?
Posted: Wed Jun 27, 2007 1:33 pm
by Pierre M.
I'm
speculating it is easy. As far as I know, nobody has tried to code this multisite patch. So nobody can tell it is difficult, even for the back end
Pierre M.
Re: CMSmadesimple work as multisite platform?
Posted: Wed Jun 27, 2007 2:01 pm
by nuno
Thanks for your patience, but i whait for new version 2.x ,
How I can have access version 2 to try?
Nuno
Re: CMSmadesimple work as multisite platform?
Posted: Wed Jun 27, 2007 4:09 pm
by alby
nuno wrote:
Thanks for your patience, but i whait for new version 2.x ,
How I can have access version 2 to try?
Nuno
Maybe
September/October for a first beta
Alby
Re: CMSmadesimple work as multisite platform?
Posted: Wed Jun 27, 2007 4:20 pm
by nuno
thanks Alby do you have a tip for my inicial post?
Nuno
Re: CMSmadesimple work as multisite platform?
Posted: Wed Jun 27, 2007 7:50 pm
by alby
nuno wrote:
thanks Alby do you have a tip for my inicial post?
With current implementation it's very very difficult.
I work
on it
Alby
Re: CMSmadesimple work as multisite platform?
Posted: Thu Jun 28, 2007 11:08 am
by Pierre M.
Hello Alby & all !
alby wrote:
With current implementation it's very very difficult.
I work
on it
OK, the switch idea is not new and I was too optimistic. But I think it is good news that some are thinking about possible implementations. Have fun working on this.
Pierre M.
Re: CMSmadesimple work as multisite platform?
Posted: Thu Jun 28, 2007 1:07 pm
by alby
Pierre M. wrote:
Hello Alby & all !
alby wrote:
With current implementation it's very very difficult.
I work
on it
My poor english. I want say:
I WORKED on this nearly two years ago
My implementation was for linux only (it is not impossible but very very difficult soft link on Windows) and the number of files to modify are many for simple synch to new release (I use often SVN version

)
Alby