forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: MikeNL on October 01, 2005, 01:26:21 am

Title: how to insert linkbutton in menu
Post by: MikeNL on October 01, 2005, 01:26:21 am
Hi,
Maybe I ask this for the hundred's time, but I just can't figure out how to insert a button in the main menu with a link to my homepage on it. I managed to put a link to my homepage into the menu, but it is just not what I want. The link now is just a tekstlink at the end of the menu and looks rather misplaced there.
The theme I use is transmission. I know, that it must be done somewhere inside the theme.php-file inside the transmissionfolder, but I just cannot figure out where. I tried different solutions recommended for other themes, but everytihing just doesn't work.

Help!!

Mike
Title: Re: how to insert linkbutton in menu
Post by: artistsinhawaii on October 01, 2005, 06:55:07 am
Insert the following code  in your menu block where you want it to appear.  Each menu button must start with a <tr> and end with a </tr>.


Quote
 
<tr>
    <td><img  src="themes/transmission/images/buttonleft1.gif" width="10" height="28" border="0" alt="" /></td>
    <td background="themes/transmission/images/buttoncenter1.gif"><center>
    <a href="Http://www.yourdomain.com/homepage.xxx" title="Return to Home Page">Homepage </a>    </center></td>
    <td><img  src="themes/transmission/images/buttonright1.gif" width="10" height="28" border="0" alt="" /></td>
    <!-- END album_list -->
  </tr>

Dennis
Title: Re: how to insert linkbutton in menu
Post by: MikeNL on October 01, 2005, 11:37:29 am
Thank you so much, Dennis. It just works perfect!  :D
Title: Re: how to insert linkbutton in menu
Post by: artistsinhawaii on October 01, 2005, 12:04:31 pm
Thanks for letting me know

Dennis