Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Help with Custom Header  (Read 4012 times)

0 Members and 1 Guest are viewing this topic.

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
[Solved]: Help with Custom Header
« on: July 04, 2008, 12:20:51 am »

Hi,

Just a couple of little things that I am hoping someone will help me with, please. We are hoping to go live with the site this weekend if I can get this fixed.

I have read the doc here http://forum.coppermine-gallery.net/index.php?action=activate;u=57127;code=24ab060628
and have tried to implement a custom footer & image map header.

Header:  my image map is showing up and working great, but I can not get the lavender area above the rounder corner top to not show up behind my header. I need that to be gone.

Footer: custom footer not showing up at all.

obviously I am doing something wrong with getting the *custom* footer to work. The footer I am trying to insert image is the same one as on the homepage.

can anyone help me, please, with code tweaks to fix these two little cosmetic issues?

http://uniquescrapart.com/gallery

« Last Edit: July 04, 2008, 03:09:22 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Help with Custom Header
« Reply #1 on: July 04, 2008, 12:38:15 am »

Not sure what you mean by custom header and footer. You don't have anything set for 'Path to custom header include' or 'Path to custom footer include' in config. Also, you should make your own theme and not modify the classic theme.

Before you do anything else, update your gallery.

Also, you pasted the wrong link in your post.
Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Help with Custom Header
« Reply #2 on: July 04, 2008, 12:48:36 am »

update my gallery?

I'm not sure how to write a path.
I have the custom-footer.php in my gallery root. is that where it is suppose to be?

Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Help with Custom Header
« Reply #3 on: July 04, 2008, 01:12:39 am »

Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Help with Custom Header
« Reply #4 on: July 04, 2008, 01:20:04 am »

please be patient, I am not that great with php etc., bit of a newbie at this.

I am more concerned with the lavendar at the top of my page & getting that cosmetic fixed.

my bg color is extending above my header image.

if I can get help with that one thing corrected, I would be so grateful.

 
Logged

Nibbler

  • Guest
Re: Help with Custom Header
« Reply #5 on: July 04, 2008, 01:42:51 am »

Ok then, what you have now is this:

Code: [Select]
  <table width="950px" border="0" cellpadding="0" cellspacing="20" valign="center">

    <tr>
      <td valign="top" style="border: 0px solid #666666; background-color:#babada;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
             <img src="http://uniquescrapart.com/images/header_usa.gif" usemap="#header_usa" alt="" style="border-style:none" />

<map id="header_usa" name="header_usa">

<area shape="rect" alt="" coords="496,113,563,137" href="http://uniquescrapart.com/shop/" title="" />
<area shape="rect" alt="" coords="567,115,637,138" href="http://uniquescrapart.com/forum/" title="" />

<area shape="rect" alt="" coords="645,114,717,139" href="http://uniquescrapart.com/gallery/" title="" />
<area shape="rect" alt="" coords="722,113,791,139" href="http://uniquescrapart.com/staff/" title="" />
<area shape="rect" alt="" coords="798,114,867,139" href="http://uniquescrapart.com/shop/index.php?main_page=index&cPath=38" title="" />
<area shape="rect" alt="" coords="873,115,943,139" href="http://uniquescrapart.com/shop/index.php?main_page=page_4" title="" />
<area shape="rect" alt="" coords="88,29,456,123" href="http://uniquescrapart.com/" title="" />
<area shape="default" href="http://uniquescrapart.com/" alt="" />
</map>
            </td></tr></table>

You should move that image up and out of the blue background area and change your table's cellspacing, like this:

Code: [Select]
  <table valign="center" border="0" cellpadding="0" cellspacing="0" width="950">
   <tbody>
    <tr>
     <td>
      <img src="http://uniquescrapart.com/images/header_usa.gif" usemap="#header_usa" alt="" style="border-style: none;">
     </td>
    </tr>
    <tr>
      <td valign="top" style="border: 0px solid #666666; background-color:#babada;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
<map id="header_usa" name="header_usa">

<area shape="rect" alt="" coords="496,113,563,137" href="http://uniquescrapart.com/shop/" title="" />
<area shape="rect" alt="" coords="567,115,637,138" href="http://uniquescrapart.com/forum/" title="" />

<area shape="rect" alt="" coords="645,114,717,139" href="http://uniquescrapart.com/gallery/" title="" />
<area shape="rect" alt="" coords="722,113,791,139" href="http://uniquescrapart.com/staff/" title="" />
<area shape="rect" alt="" coords="798,114,867,139" href="http://uniquescrapart.com/shop/index.php?main_page=index&cPath=38" title="" />
<area shape="rect" alt="" coords="873,115,943,139" href="http://uniquescrapart.com/shop/index.php?main_page=page_4" title="" />
<area shape="rect" alt="" coords="88,29,456,123" href="http://uniquescrapart.com/" title="" />
<area shape="default" href="http://uniquescrapart.com/" alt="" />
</map>
            </td></tr></table>

That's based on your page output, part of that code is in your template.html and part is in your custom header.

You are using 1.4.16 and the latest is 1.4.18.
Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Help with Custom Header
« Reply #6 on: July 04, 2008, 02:53:48 am »

now my page won't refresh. what in my source file on my host server is not what's in the view source on my screen.
I've cleared my cache, rebooted, everything I know to do.  why is it not showing what is uploaded to my host?  ???
It should be the code you told me to put, and that's what's in the file on my host server.   



Logged

Nibbler

  • Guest
Re: Help with Custom Header
« Reply #7 on: July 04, 2008, 02:59:31 am »

You need to delete the template.html that's in your root Coppermine directory (http://uniquescrapart.com/gallery/template.html)
Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Help with Custom Header
« Reply #8 on: July 04, 2008, 03:07:44 am »

thank you thank you! two sets of eyes are a blessing!

it looks fabulous other then I need a little more space at the top, to match the spacing of the rest of the site.

thank you so much for your help.

so far we love the coppermine gallery!
Logged

Nibbler

  • Guest
Re: Help with Custom Header
« Reply #9 on: July 04, 2008, 03:09:11 am »

Great. You still need to update your gallery though; 1.4.16 has a security problem.
Logged

rkayw

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: [Solved]: Help with Custom Header
« Reply #10 on: July 04, 2008, 03:11:30 am »

ok, I will, thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.