Fork me on GitHub

adding javascript to a theme  Bottom

  • there used to be a javascript directory inside a theme but there no longer is. I have several dynamic drive scripts I like to use throughout my website and I am not sure where I am supposed to put them. Email scramble is one specifically I want to have. Is there still a provision for this and how can I do it so I am compliant? thanks!
  • Just create a 'javascript' folder in your theme and include the relevant files in your theme template. I do this all the time, it works well.

    Greetings
    R
  • If they are used site-wide, you can use /config/javascript too.
    And I'm talking about 1.3 :)

    --
    - Mateo T. -
    Mis principios... son mis fines
  • 0 users

This list is based on users active over the last 60 minutes.