XF 1.2 Adding Javascript to One Page

Robbie Poe

New member
I'm really looking forward to implementing this "Add To Home Screen" javascript from http://cubiq.org/add-to-home-screen, but I'm only wanting it to activate when users are on the /forums/ page. When I put the the .js and .css files within page_container_js_head, obviously it shows up on every page in my forum.

Is there a way to have it only show up on /forums/ ?
 
How do you add javascript to a standard page you create as opposed to the forum list - i only want the javascript on one page as opposed to all pages, so hoping I dont have to add it to the page container template...
 
Top Bottom