_header.html file

Hi - I have made a mess of this file trying to put in <h1> tag and robots. Could someone give me advice (possibly with an example) on what should be in this file (from the <!DOCTYPE to the end of the file).

Thanks

Wally McCallion
Quote · 2 May 2011

You can download a new copy of Dolphin and compare the files. As for robots, why aren't you using a robots.txt file?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 2 May 2011

Thanks. It gives me the source for the whole site - can you tell me where the text for this file stops?

Should the last line in the _header.html file be this one?

 

<script type="text/javascript" language="javascript">

Wally McCallion
Quote · 2 May 2011

No. that is not the last line of that file. And you have me confused.

You download the dolphin zip file. Unpack it.

Go into templates\base

The file _header.html is the only file you want from that archive to replace the one you damaged.

https://www.deanbassett.com
Quote · 2 May 2011

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=__page_charset__" />
<title>__page_header__</title>
<base href="<bx_url_root />" />    
__page_description__
__page_keywords__
<meta http-equiv="Content-Style-Type" content="text/css" />
<bx_include_css />
<bx_include_js />
__dol_images__
__dol_lang__
__dol_options__
<script type="text/javascript" language="javascript">
var site_url = '<bx_url_root />';
var aUserInfoTimers = new Array();
$(document).ready( function() {
$( 'div.RSSAggrCont' ).dolRSSFeed();
} );
</script>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="inc/js/pngfix.js"></script>
<![endif]-->
__extra_js__
<bx_injection:injection_head />

<script type="text/javascript">
var oBxUserStatus = new BxUserStatus();
oBxUserStatus.userStatusInit('<bx_url_root />', __is_profile_page__);
</script>
</head>
__flush_header__
<body <bx_injection:injection_body /> >
<bx_injection:injection_header />
<div id="notification_window" class="notifi_window"></div>
<div id="FloatDesc" style="position:absolute;display:none;z-index:100;"></div>

Quote · 3 May 2011

Thank you - I will see if I can do it right this time!

Wally McCallion
Quote · 3 May 2011

To Sammie

 

I have tried this but I am going wrong somewhere - could I be cheeky and ask if I can email you with my logins for ftp, cPanel and Admin Dashboard? If you are agreeable can I have your email address. If you can do this I will change my passwords when you are done. Thank you

Wally McCallion
Quote · 3 May 2011

Why don't you just replace your site's _header.html file with a new one?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 May 2011

...and then clean your cache.

Quote · 3 May 2011

To Sammie

If you can help, you can send your email address to me at admin@1-love-4-you.com

Thanks

Wally McCallion
Quote · 3 May 2011
I have tried to replace it with a new one and then clear the cache - but my web pages dont change - they just stay jumbled
Wally McCallion
Quote · 3 May 2011

It appears to be a caching problem.

Turn off all caching on the site. Two locations.

Admin -> Settings - Advanced Settings -> Templates. 

And

Admin -> Settings - Advanced Settings -> Other.

Make sure all caching options are off. There are several. HTML, CSS, JS, DB and page blocks.

Caching should be off while your working on the site anyway. Then turn back on after your done.


https://www.deanbassett.com
Quote · 4 May 2011

I have now done a clean install !!! Just hope I don't mess up again !! I have leared a lot thanks to peoole in here.

So thank you all

Wally McCallion
Quote · 4 May 2011
 
 
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.