Theme Changers?

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
Kaila

Theme Changers?

Post by Kaila »

An admin brought to my attention that we have many useable templates for our site. They also suggested we make a 'theme changer' for the front end user. so they could select the template they like the best. I semi know how to do this in regular php, but how would I integrate it with CMSMS? How would I select the templates that we have in there, and make it so we choose from which templates they will be able to choose?
cyberman

Re: Theme Changers?

Post by cyberman »

Kaila

Re: Theme Changers?

Post by Kaila »

Thanks =) But I have some questions. Can I use that to change images and stylesheets? Or is it just for stylesheets?
cyberman

Re: Theme Changers?

Post by cyberman »

It's only for stylesheets - on stylesheets you can only change background images ...
heatherfeuer

Re: Theme Changers?

Post by heatherfeuer »

And unfortunately, sometimes using the image as a background doesn't work.  I've found that out when doing my own stylesheets.  Sometimes that just throws the layout out of whack.

I would think, though, that one could put all the images used by the templates in the primary image folder (i.e. domain.tld/images/).  That's what I did.  Technically, you could have all the images needed for the templates themselves in that folder.  Images in the content could still point to /uploads/images, or uploads/user/images.
Locked

Return to “CMSMS Core”