Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Add Script to Head Section
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add Script to Head Section (Read 6827 times)
tmcgee123
Newbie
Posts: 21
Add Script to Head Section
«
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.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Add Script to Head Section
«
Reply #1 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?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
tmcgee123
Newbie
Posts: 21
Re: Add Script to Head Section
«
Reply #2 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.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Add Script to Head Section
«
Reply #3 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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
tmcgee123
Newbie
Posts: 21
Re: Add Script to Head Section
«
Reply #4 on:
April 16, 2009, 22:33:11 »
That will work just fine. Thanks again.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Add Script to Head Section