Is there a syntax similar to the {stylesheet="includes/main_styles"} usage to retrieve javascript entries from the templates db?
I know I’m going to do a Homer-headslap when someone answers this ...
Erik
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 27, 2009 7:02pm
Subscribe [2]#1 / May 27, 2009 7:02pm
Is there a syntax similar to the {stylesheet="includes/main_styles"} usage to retrieve javascript entries from the templates db?
I know I’m going to do a Homer-headslap when someone answers this ...
Erik
#2 / May 28, 2009 2:20am
I am afraid there is not, but you can always use the regular {path=} variable, of course.
#3 / May 28, 2009 3:23pm
The {site_path} variable is fine, as far as it goes, but results in pretty static code.
What I was looking for was a method of keying the download to a versioned url, as provided for by the {stylesheet=""} method.