Elxis CMS Forum
Support => Administration => Topic started 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.
-
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?
-
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.
-
You don't need to manipulate page's headers for that. window.open will just do the work.
-
That will work just fine. Thanks again.