CMSmadesimple work as multisite platform?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
nuno

CMSmadesimple work as multisite platform?

Post 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!
Last edited by nuno on Mon Jun 25, 2007 6:16 pm, edited 1 time in total.
cyberman

Re: CMSmadesimple work as multisite platform?

Post by cyberman »

No, currently not - it's on roadmap for the past 2.0 version

http://cmsmadesimple.org/main/roadmap
nuno

Re: CMSmadesimple work as multisite platform?

Post by nuno »

ok thanks, it's an idea
Pierre M.

Re: CMSmadesimple work as multisite platform?

Post 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.
nuno

Re: CMSmadesimple work as multisite platform?

Post 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
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?

Post 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.
nuno

Re: CMSmadesimple work as multisite platform?

Post by nuno »

but de backend!!!!!! IS A PROBLEM??
Pierre M.

Re: CMSmadesimple work as multisite platform?

Post 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.
nuno

Re: CMSmadesimple work as multisite platform?

Post by nuno »

Thanks for your patience, but i whait for new version 2.x ,

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?

Post 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  :P

Alby
nuno

Re: CMSmadesimple work as multisite platform?

Post by nuno »

thanks Alby do you have a tip for my inicial post?
Nuno
alby

Re: CMSmadesimple work as multisite platform?

Post 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
Pierre M.

Re: CMSmadesimple work as multisite platform?

Post 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.
alby

Re: CMSmadesimple work as multisite platform?

Post 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
Locked

Return to “CMSMS Core”