Page 1 of 1

{module template} and stylesheet

Posted: Sat Oct 17, 2009 4:55 pm
by docman
Hi, I would want to change the stylesheet associated with any particular template I am calling from within the default template.

I am not certain if this is possile at all, and do not know the format of the command.

Can {modeule template} have a parameter, like stylesheet=""?

Hence, is something like this a legitimate (Smarty)command?
 
{menu template="cssmenu.tpl" stylesheet="Navigation: CSSMenu - Horizontal - myversion" start_element="12.1" show_root_siblings="1" collapse="0"}

Thanks.

Re: {module template} and stylesheet

Posted: Sun Oct 18, 2009 6:30 pm
by katea
Not sure I understand what you're after, but have a look here:

http://forum.cmsmadesimple.org/index.ph ... #msg164838

I used a jquery stylesheet switcher to change colours and styling of my website.

Re: {module template} and stylesheet

Posted: Mon Oct 19, 2009 2:01 pm
by tyman00
Have you tried and read the help for the Template Manager module?

It's older so I do not know if/how well it works.

http://dev.cmsmadesimple.org/projects/template-mgr

Re: {module template} and stylesheet

Posted: Tue Oct 27, 2009 6:18 pm
by Dr.CSS
In the of your template you can call individual style sheets with {stylesheet name="name-of-stylesheet"}, this also works in the metadata box in page edit mode options tab...