Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to make title image into a link  (Read 2254 times)

0 Members and 1 Guest are viewing this topic.

JSan

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
How to make title image into a link
« on: March 15, 2004, 12:11:28 am »

HI, I am using the Hardwired theme. I am interested in either creating a button to link back to my main page, or to have the top graphic to be a link back to the main site.

Can anyone tell me how to do this and direct me with instructions. I'm pretty new to all this and don't know what I would need to edit
Logged

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
"Home" link
« Reply #1 on: March 15, 2004, 12:47:16 am »

Hi, Jsan!
You can do this by editing your "theme.php" file in the Hardwired folder. You only need to duplicate one of the entries in the menu list, then edit the specific details for your new link.
E.G. - To create a link back to my Phpbb Forums, I duplicated the "Search" entry, pasted it underneath and edited it to read as follows:
Quote
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft1" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="/phpbb2">Forums</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>

The bit in red is obviously the important bit! Insert the appropriate path and text label for your new button and you're done!
Hope this helps.
John Mc
Logged
I'm trying hard... at least!

JSan

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
How to make title image into a link
« Reply #2 on: March 15, 2004, 08:46:45 am »

many thanks for your help, I will try this out!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.