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

iantresman’s picture

If 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 /):

  • contact, or
  • node/34 (if this is aliased to contact)
rcross’s picture

Issue summary: View changes
Status: Active » Closed (fixed)