Problem with Headers

Hello!

We are having some coding problems about a little javascript application that doesn´t work properly unless it goes along with this line of JSP code before html headers:

<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>

So It needs to go before the first line of the page where the javascript is, like this way:

<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>

We are looking for some help so as to know how to include this or whether it is possible to include it y any other way.

 

Thankyou in advance!!

Quote · 12 Feb 2012

/templates/[template/_header.html

 

You might need to copy the _header.html file in /base/ and bring it over to another template (such as /tmpl_uni/).  Add that bit to the file and then save changes and clear the site's cache.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 12 Feb 2012

I was following what you said, but I don´t understand what is bringing it over to another template. What I have to do? I have undestood this steps.

 

1.- copy _header.html in /templates/base/

2.- modify  /templates/base/_header.html, insert the new line above whatever is in the file (I have seen it has nothing inside!!!)

3.- bring it over to templ_uni (I dónt understand what you are telling me to do)

4.- clear cache

5.- start working

 

Can you help me?

Thankyou for all your help!!!

Yours, B.

Quote · 13 Feb 2012

I said to copy the file from /base/ over to your template (/tmpl_uni/, in case you're using the default template).  You then make the changes there.  You should never edit /base/, as changes there can be overwritten during an upgrade.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 13 Feb 2012

Hi!

 

 We solve our problem with your advice. However, this header label changed the behaviour of all dolphin pages, so we had to revert every single change and solve it without this header´s help.

 

 

Thankyou very much

Your, B.

Quote · 16 Feb 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.