nurilized wrote:
is there any way to call js/css files from anywhere of the page/layout?
suppose, i use one template and many subpages?
 but i use different/extra css/js files on subpages (and also common), for
example i will use accordion script on a subpage and putting this on
template or on header snippet is nonsense
so i am looking for a way to call these files from inside page/layout
I just released version 0.3 of this extension and you will now find tags to do just this. For instance:

 <r:stylesheet name="my_stylesheet" />

produces:

 your stylesheet content

Or, if you want to be more fancy, try:

 <r:stylesheet name="my_stylesheet" as="inline" />

and get:

 <style type="text/css">
 <!--
 your stylesheet content
 -->
 </style>

The same works with the <r:javascript> tag.

-Chris
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to