ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

calling javascript template from page template

August 30, 2009 11:36pm

Subscribe [3]
  • #1 / Aug 30, 2009 11:36pm

    mobilizedesign

    8 posts

    what’s the syntax for linking to a js template within EE?  seems like this would be a fairly straight forward operation.  but i can’t find documentation for this anywhere

    i have the template pulling my css template correctly.  no luck with the js template

    [removed][removed]


    // edit

    the forum won’t let me post my code.  how useful

    [removed][removed]

  • #2 / Aug 31, 2009 3:16am

    Ingmar

    29245 posts

    Just try not to use the word “script”. And, yes, it’s considered useful.

  • #3 / Oct 05, 2009 3:17am

    Adam Dorsey

    1439 posts

    <foo type="text/javascript" charset="utf-8" src="{path='_js/jquery'}"></foo>

    Replace “foo” with “script”

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases