{module template} and stylesheet

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

{module template} and stylesheet

Post 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.
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: {module template} and stylesheet

Post 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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: {module template} and stylesheet

Post 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
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: {module template} and stylesheet

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

Return to “Layout and Design (CSS & HTML)”