We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

placing javascript tag into head

Development and Programming

vinci's avatar
vinci
85 posts
17 years ago
vinci's avatar vinci

how can one place a script tag into the <head> section of the CP. closest I can find is $DSP->body_props, which put it just after the <body> tag. couldnt find anything in the module development section.

Im trying to chain a few dropdowns with a nice script I found.

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Vinci,

If you add code to:

$DSP->extra_header

It will be inserted into the CP head just before the closing </head> tag.

Jamie

       
vinci's avatar
vinci
85 posts
17 years ago
vinci's avatar vinci

ahh that looks right. thanks

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.