Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Sorry, newbie here.
Is there some way to just inject js code into one created node? (Not the template node)
I see where it has an option to add the js on specific pages and it gives examples.
I just want it to show on this url: /Contact (uses Page template)
I tried adding that, but it doesn't seem to work.
Otherwise, if this just adds the js to the node template why not just add the js to the page.tpl.php?
Thanks!
Comments
Comment #1
iantresman CreditAttribution: iantresman commentedIf you have a URL:
http://www.mydomain.com/contact
, then to make the injection appear on this one page, you would specify "Add on only the listed pages", and the page (without the leading /):Comment #2
rcross CreditAttribution: rcross at CrossFunctional commented