[opencms-dev] Condition for headincludes tag

Filip Kratochvil filip.kratochvil at nelasoft.cz
Fri Dec 22 17:50:09 CET 2017


Hello Jan,

 

no, you can't use any condition.

 

But if you will include css/js using formatter's configuration described
here:

http://documentation.opencms.org/opencms-documentation/content-in-opencms/fo
rmatters-and-their-configuration/index.html

 

you can make more than one formatter for one resource type. One formatter
will include css/js, second will not include css/js.

 

--
S pozdravem / Kind regards
Filip Kratochvil



 

Od: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
za uživatele Knezik Jan
Odesláno: 22 December 2017 17:20
Komu: opencms-dev at opencms.org
Předmět: [opencms-dev] Condition for headincludes tag

 

Hello,

I need a condition for including js and css files in xsd file (I am using
headincludes tag). Is something like this available in OpenCMS?

 

Thank you very much,

Jan Knezik

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20171222/fdc7f0b5/attachment.htm>


More information about the opencms-dev mailing list