How to make title image into a link How to make title image into a link
 

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]

Main Menu

How to make title image into a link

Started by JSan, March 15, 2004, 12:11:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JSan

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

jmc

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
I'm trying hard... at least!

JSan

many thanks for your help, I will try this out!