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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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!