Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 <head> tag of a whole site
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lubu
Practical

Italy
19 Posts

Posted - 16 Feb 2006 :  17:51:56  Show Profile  Visit lubu's Homepage  Reply with Quote
I wonder if it's possible to insert a script in the <head> code of the pages of a site or I have to do it page by page.

Can someone help please ?

Thank you.

Luca


DHE is the best editor.

Martin1
Super User

Netherlands
626 Posts

Posted - 16 Feb 2006 :  18:06:19  Show Profile  Reply with Quote
You can add stuff inside head tag (between the head tags).
Open your page in the editor and in the properties panel fold open the top dropdown menu.
This menu contains all items on the page.
Here the very first menu item is always "This Page" now you can click the button beneath it (the one after the word (Custom)) and choose the tab Scripts/Events and click on Header Code now you can insert something in between the head tags.

Easier way to achieve this is by double clicking somewhere on an empty part of you page and again choose the tab Scripts/Events.

Martin
Go to Top of Page

lubu
Practical

Italy
19 Posts

Posted - 16 Feb 2006 :  18:56:04  Show Profile  Visit lubu's Homepage  Reply with Quote
Sorry, I was not clear enough.

My problem is to do that only once for a whole site (fortunatly not many pages) as a batch or something similar. From your answer I realize that probably is not possible.

Bye.

Luca
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 17 Feb 2006 :  08:51:35  Show Profile  Visit s.dav's Homepage  Reply with Quote
You have two options:

Simply create an empty file called for example "include_scripts.dhe"; insert the code into this file then:

1) include this file into every page of your site

OR

2) in the export project options choose "Use a common footer for every page" and choose the file you've saved so when exporting Dynamic HTML Editor mixes the script code of this file with every page

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000