Page 1 of 1

How exclude only one stylesheet in template

Posted: Fri Aug 24, 2018 2:39 pm
by Powerbrand
Hello:

I have 4 stylesheets (for example: styleheet1, styleheet2, styleheet3 and styleheet4).

If I use {cms_stylesheet}, by default I load the four stylesheets.
If I use {cms_stylesheet name = "styleheet3"} we load the number 3 excluding all others.

Is there any way to EXCLUDE only one stylesheet and load all the others?
(Using CMS 2.2.6.)

Thank You!

Re: How exclude only one stylesheet in template

Posted: Mon Aug 27, 2018 9:06 pm
by velden
I'd suggest:

Code: Select all

{cms_stylesheet name = "styleheet1"}
{cms_stylesheet name = "styleheet2"}
{cms_stylesheet name = "styleheet4"}
But I didn't test it.

Re: How exclude only one stylesheet in template

Posted: Tue Aug 28, 2018 10:57 am
by Rolf
Powerbrand wrote:I have 4 stylesheets (for example: styleheet1, styleheet2, styleheet3 and styleheet4).

If I use {cms_stylesheet}, by default I load the four stylesheets.
If I use {cms_stylesheet name = "styleheet3"} we load the number 3 excluding all others.

Is there any way to EXCLUDE only one stylesheet and load all the others?
(Using CMS 2.2.6.)
Don't attach "stylesheets3" to a design, that is all.