View Full Version : Header Distorted
soultrader
04-10-2009, 08:24 AM
I need help with my header.... clearly distored: http://www.traderslaboratory.com/forums/community.php?id=29&prev=1
Why is it also showing the navbar in the html format? I had hoped it would show my actual header.
Morgan, I would like some help on getting this header issue sorted. Also, did anyone manage to hide the vbseo archive links from the footer?
Morgan
04-12-2009, 01:05 AM
That page is not accessible to guests, so I cannot make any suggestions to you, but if you look at the HTML source it might provide a clue. You can also go to the ACP -> vBulletin Options -> General Settings -> Add Template Name in HTML Comments -> Yes to see template names in the HTML source.
soultrader
04-13-2009, 01:30 AM
Hi Morgan,
Please use:
username: carter
password: tokyo
Are you able to take a look within admincp? The header is not being applied properly and taking code out of somewhere else. I expected this to be automatic and now I am unable to send this off as I am not a programmer. Please assist.
Morgan
04-13-2009, 08:33 PM
The page here (http://www.traderslaboratory.com/forums/community.php) uses your forum templates for viewing in a browser. The preview here (http://www.traderslaboratory.com/forums/community.php?id=32&prev=1) uses the GAZ templates for a preview of what is sent to the email reader.
The header of the preview is the gaz_html_header template. You need to edit that template so that the header appears as you prefer. For reasons discussed here (http://www.thevbgeek.com/geeki/index.php/Styles_and_templates_in_GAZ) you cannot use relative links, JavaScript, external/non-inline CSS.
There are the gaz_html_header, gaz_html_navbar, and gaz_html_footer templates that you can edit for each style as you prefer. Use absolute http:// links, not relative links, do not use JavaScript, use inline CSS, not external CSS files, etcetera, so that you have a better chance that the receiver's email reader does not strip out parts of the HTML email.
If you try to use exact replicates of your forum templates, it will not look good in an email reader, as many email readers strip out/do not permit the "fancy" stuff you can use on a webpage. There is further explanation about this on this (http://www.thevbgeek.com/geeki/index.php/Styles_and_templates_in_GAZ) page.
After you make edits to the GAZ templates, go to the ACP -> GAZ -> Issues -> click the issue -> check the Refresh Layout box -> Save -> do another preview to see the changes.
As for the vBSEO links in the footer of the preview, there is this that is in your gaz_html_footer template, not a part of GAZ itself, but removing it seemed to have no effect.
<if condition="THIS_SCRIPT == 'newsletter'"><!--<!--VBSEO_ARCHIVE_LINKS-->--></if>
As I do not use vBSEO and am not familiar with that script, I cannot tell you why it adds itself to the GAZ preview nor can I tell you what you need to do to get vBSEO off the GAZ preview page, but maybe there is a vBSEO setting that you can use to exempt pages from being affected by vBSEO, something you'd need to check with the vBSEO people about.
soultrader
04-14-2009, 02:00 AM
Thanks Morgan, will see how it goes and get back to you with any questions :)
vBulletin® v3.8.5, Copyright ©2000-2024, Jelsoft Enterprises Ltd.