View Full Version : Header and footer display
June 26th, 2013, 09:24 AM
My old header and footer files from 3.32 are displaying but not properly. Almost looks like they aren't being parsed for php. Where can I find the new location of these in 6.1? I checked header-inc.php but that's just vbulletin headers.
Main Index - AllEars.net Review Page (http://land.allears.net/reviewpost/)
June 26th, 2013, 12:43 PM
Your headed looks fine and is still handled the way you use to display it as it has not changed
What has changed is you most likely based on your old site added style properties and other hard coded stuff in our files. You need to add back in what you put in the old version or update how you do it so you do not lose it in an upgrade which is why I mentioned plugins and using a head tags file for head tags like custom style class info. Like for instance in that light stylesheet I added in the sf-menu style classes so your drop downs display. If we where not parsing your header we would not be displaying it.
June 26th, 2013, 12:59 PM
The header and footer came from the header.htm and footer.htm files in the old version. They are still there in the new one. Nothing was changed so I don't understand why they aren't displaying now.
This is the single most important thing that needs to be fixed. Is there a way I can have RP display on one of our site template pages? I'd really hate to have to restore a backup of 3.32 but this header/footer issue is completely unacceptable.
I looked at the FAQ for plug ins. It's way over my head. If I can't just put XHTML in there, it's beyond me.
June 26th, 2013, 01:44 PM
Is there any other stylesheet that will display the drop down menus? My boss doesn't like light. She likes skylight. Thinks it blends best with the rest of the site.
I did notice however that when I set the display to the light one, the menus displayed but the header came farther down and overlaid the menubar. Also, the ad panel was still missing from the header.
Changing to light had no effect on the footer at all.
June 26th, 2013, 01:59 PM
As previously stated you would need to add any missing style classes your calling in your header or footer either into the stylesheet you choose or add a head tags file with a style tag with your custom style classes.
This is an issue with the fact you have not added any custom styles back in this was something you altered along time ago and would need to add back in
June 26th, 2013, 02:18 PM
There were no custom styles added before. Just the header and footer files that used php includes to import the info. Here's the content of the Header file:
include( $_SERVER['DOCUMENT_ROOT'] . "/path to*/_global.php" );
include( $_SERVER['DOCUMENT_ROOT'] . "/path to*/rpinc_new.php" );
<?php html_logo(); ?>
<?php html_adrotator(); ?>
<?php html_topmenubar(); ?>
*path to replaces rest of server path.
That's the whole file. Worked fine on 3.32. Not working now. Haven't a clue what to do.
June 26th, 2013, 03:33 PM
You are not following what I am saying here.
If we where not parsing your header file nothing would be displaying anything as we would not know what logo adrotor or topmenubar is if we where not parsing it.
What I am saying is there is part of the puzzle you are not doing that you where in the prior version.
Where are you loading the styles that are being used in the header footer and navigation bar your displaying?
That is your issue.
See you added these two link statements and your site views fine.
<link rel="stylesheet" type="text/css" href="http://www.allears.net/ae2010-styles.css" />
<link rel="stylesheet" type="text/css" href="http://www.allears.net/ae2011-drill-styles.css" />
The issue was with your missing styles class names as I posted in my initial response to you. Since you obviously hard coded things in files I would have no idea what you did for your custom header.
June 28th, 2013, 02:31 PM
For others reading this thread the proper way to load custom style declarations is to use a headtags.htm file and this is discussed in this post.
This way you do not hard code anything which would be lost on an upgrade.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.