Header Header
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Header

Started by austin, June 27, 2010, 10:37:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

austin

I tried to do what the docs said and tried some posts on here but i still dont get it.

Basically I want add the following header and footer files to the gallery on all pages of the gallery before i get into further customization of the gallery itself.

http://musiccityedge.com/header.html
http://musiccityedge.com/footer.html

Thanks

nickelas

Make sure you have the right path. The path is relative from where you installed your gallery (your path should start with "../" )
Human

Joachim Müller

We require you to post a link to your gallery as per board rules, which appears to be http://musiccityedge.com/gallery/ in your case. You are running cpg1.4.26, so you probably have installed using an auto-installer, which is something that we're not fond of. You need to upgrade your gallery to the most recent stable release of cpg1.4.x (which is currently cpg1.4.27) or (even better) to cpg1.5.x (currently cpg1.5.6 is the most recent release). As you appear to be starting from scratch I can't see the point in using a version for which the support will run out soon.
This being said, your header and footer files are invalid, as they contain <head> and <body> sections, which is something you wouldn't want in a header/footer file. In fact there are a lot of other flaws in thise files, like missing mandatory attributes. You appear to have created those header/footer files of yours using a WYSIWYG-editor, as the HTML markup is bound to break on most PCs of your visitors. You have made some design mistakes that many beginners make (like wrapping the <body>-tag into a <center>-tag), which is not bad in itself - you just need to be aware of the fact that your entire site will not look the same to all visitors of your site.
What you actually need is a custom theme that matches the overall look of your gallery. You will need different themes depending on which version of Coppermine you want to use. I have created a custom theme for you as a courtesy in both flavors. You need to be aware though that your HTML markup leaves a lot of room for optimisation, whcih is something you can hardly expect from free support on this forum to be done - we can't teach you HTML/CSS, that's beyond the scope of this forum.

Alternatively, use the custom_header/custom footer option in Coppermine. You need to edit your header/footer files though using a plain text editor. The content of the header file needs to be<table align="center" cellpadding="0" cellspacing="0" style="width: 900px; height: 23px">
<tr>
<td class="style124" style="height: 101; width: 975">&nbsp;</td>
</tr>
<tr>
<td class="style124" style="height: 35; width: 975">
<span class="style125">&nbsp;&nbsp;&nbsp;
</span> <span class="style123"><a style="text-decoration: none" href="/index.shtml"><span class="style123">HOME</a>&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp;
<a style="text-decoration: none" href="http://musiccityedge.com/news.shtml"><span class="style123">NEWS</a>&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; &nbsp;
<a style="text-decoration: none" href="http://musiccityedge.com/gallery"><span class="style123">PHOTO GALLERY</a>&nbsp; &nbsp;&nbsp;
|&nbsp; &nbsp;&nbsp; <a style="text-decoration: none" href="/videos.shtml"><span class="style123">VIDEO GALLERY</a>&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; &nbsp;
<a style="text-decoration: none" href="http://musiccityedge.com/artists"><span class="style123">BROWSE BY ARTIST</a>&nbsp; &nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;
<a style="text-decoration: none" href="http://musiccityedge.com/store.shtml"><span class="style123">STORE</a>&nbsp;&nbsp; &nbsp; |&nbsp;&nbsp; &nbsp;
<a style="text-decoration: none" href="/contact.shtml"><span class="style123">CONTACT US</a>&nbsp; &nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;<a style="text-decoration: none" href="http://musiccityedge.com/sitemap.shtml"><span class="style123">SITE MAP</a> &nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;<a style="text-decoration: none" href="http://musiccityedge.com/advertise.shtml"><span class="style123">ADVERTISE</a></span>
</td>
</tr>
</table>
and the content of the footer file something like  <img src="/images/ruler.png"><br />
 &copy; 2010 Music City Edge
As suggested above, both files are still full of invalid elements and errors.