Several sites, one template?

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.
Post Reply
ryde
Forum Members
Forum Members
Posts: 20
Joined: Fri Jan 27, 2006 10:41 pm

Several sites, one template?

Post by ryde »

Is it possible to have several sites with just one shared template? I will have a few sites that will need the same template. The sites also will have on some pages shared content , on other pages the content will be different (and will be maintained by different users).

I would like to have just the template to be located on a server in one location so that when I change this template, all the sites will adapt to this. Furthermore, I would like the shared content not to be editable (or visible) to the maintainers of the individual sites.

Is this possible with CMSMS? (In case not: could minor code changes lead to such a setup? Any hints are appreciated in this repsect).

Thanks,

  Ryde
westis

Re: Several sites, one template?

Post by westis »

Hi ryde,

If you never touch the template, btu only the stylesheets you could link to a fixed URL for the stylesheets in the template. For example: http://www.yourdomain.com/stylesheet.php?templateid=4 where you change 4 to whatever the id of that template is.

The tempaltes could be made universal so that you do all the styling in the CSS only.

I don't think there's a way, though, to actually use the same page template across sites without hacking the code.
Post Reply

Return to “CMSMS Core”