CMSmadesimple work as multisite platform?
-
nuno
CMSmadesimple work as multisite platform?
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!
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!
Last edited by nuno on Mon Jun 25, 2007 6:16 pm, edited 1 time in total.
-
Pierre M.
Re: CMSmadesimple work as multisite platform?
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.
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.
-
nuno
Re: CMSmadesimple work as multisite platform?
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
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
Last edited by nuno on Tue Jun 26, 2007 2:31 pm, edited 1 time in total.
-
Pierre M.
Re: CMSmadesimple work as multisite platform?
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.
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.
-
Pierre M.
Re: CMSmadesimple work as multisite platform?
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.
Pierre M.
-
nuno
Re: CMSmadesimple work as multisite platform?
Thanks for your patience, but i whait for new version 2.x ,
How I can have access version 2 to try?
Nuno
How I can have access version 2 to try?
Nuno
Last edited by nuno on Wed Jun 27, 2007 2:40 pm, edited 1 time in total.
-
alby
Re: CMSmadesimple work as multisite platform?
Maybe September/October for a first betanuno wrote: Thanks for your patience, but i whait for new version 2.x ,
How I can have access version 2 to try?
Nuno
Alby
-
nuno
Re: CMSmadesimple work as multisite platform?
thanks Alby do you have a tip for my inicial post?
Nuno
Nuno
-
alby
Re: CMSmadesimple work as multisite platform?
With current implementation it's very very difficult.nuno wrote: thanks Alby do you have a tip for my inicial post?
I work on it
Alby
-
Pierre M.
Re: CMSmadesimple work as multisite platform?
Hello Alby & all !
Pierre M.
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.alby wrote: With current implementation it's very very difficult.
I work on it
Pierre M.
-
alby
Re: CMSmadesimple work as multisite platform?
My poor english. I want say:Pierre M. wrote: Hello Alby & all !alby wrote: With current implementation it's very very difficult.
I work on it
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
