Elxis CMS Forum

Support => Administration => Topic started by: tmcgee123 on April 16, 2009, 03:35:13

Title: Add Script to Head Section
Post by: tmcgee123 on April 16, 2009, 03:35:13
What would be the best way to add a head tag (script) so it will be available to an administrator component. I prefer not to modify the administrator index files.
Title: Re: Add Script to Head Section
Post by: datahell on April 16, 2009, 08:44:35
You don't need to add the script on headers because you don't care so much for XHTML/CSS compatibility in the administration area. Add it inside the body tag. What kind of script you need to add?
Title: Re: Add Script to Head Section
Post by: tmcgee123 on April 16, 2009, 15:32:47
Thanks for the response.  I'm making a new component and as part of the back end I have a geocoder page that I want to pop up using a script (javascript) I'm familiar with.
Title: Re: Add Script to Head Section
Post by: datahell on April 16, 2009, 19:16:51
You don't need to manipulate page's headers for that. window.open will just do the work.
Title: Re: Add Script to Head Section
Post by: tmcgee123 on April 16, 2009, 22:33:11
That will work just fine.  Thanks again.