adding a menu

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
t0ddie
Registered User
Posts: 108
Joined: Thu Jan 19, 2006 6:06 pm

adding a menu

Post by t0ddie » Sat Jan 28, 2006 8:13 am

i want to add a menu like this to my forums
http://img86.imageshack.us/my.php?image=menu3cx.png

how can i do that?

m3zzr
Registered User
Posts: 435
Joined: Tue May 18, 2004 8:53 pm
Location: St. Helens, UK
Contact:

Post by m3zzr » Sat Jan 28, 2006 8:20 am

edit the overall_header.tpl located in the ../templates/suBsilver folder.

t0ddie
Registered User
Posts: 108
Joined: Thu Jan 19, 2006 6:06 pm

Post by t0ddie » Sat Jan 28, 2006 9:43 pm

m3zzr wrote: edit the overall_header.tpl located in the ../templates/suBsilver folder.


ok what do i put there lets say, if i wanted the exact same menu as in the picture (i can edit the and pics later)

im asking for code

User avatar
Jim_UK
Former Team Member
Posts: 18478
Joined: Tue Oct 12, 2004 5:36 pm
Location: Darwen N.West UK

Post by Jim_UK » Sat Jan 28, 2006 10:00 pm

In your browser click View and then page source or right click the page and view page source.

Jim
The truth is out there.
Unfortunately they will not let you anywhere near it!

t0ddie
Registered User
Posts: 108
Joined: Thu Jan 19, 2006 6:06 pm

Post by t0ddie » Sat Jan 28, 2006 10:29 pm

so i change body to this?

<body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5584AA" onLoad="MM_preloadImages('/images/b_features-over.gif','/images/b_demo-over.gif','/images/b_downloads-over.gif','/images/b_support-over.gif','/images/b_comm-over.gif','/images/b_styles-over.gif','/images/b_mods-over.gif','/images/links-over.gif','/images/news-over.gif','/images/about-over.gif','/images/home-over.gif')">

<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td class="bodyline" bgcolor="white">

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="189"><a href="/index.php" target="_top"><img src="/images/mainlogo.gif" width="189" height="105" alt="PHP Bulletin Board Home" border="0" /></a></td>
<td class="bgTop" width="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="right" valign="middle">
<td height="43" colspan="7"><table border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td><a href="/phpBB/viewforum.php?f=14" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news','','/images/news-over.gif',1)"><img name="news" border="0" src="/images/news.gif" width="31" height="11" alt="News" /></a></td>

<td><img src="/images/block_change.gif" width="10" height="11" alt="" /></td>
<!-- td><a href="/links/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('links','','/images/links-over.gif',1)"><img name="links" border="0" src="/images/links.gif" width="31" height="11" alt="Links" /></a></td>
<td width="10"><img src="/images/block_change.gif" width="10" height="11" alt="" /></td -->
<td><a href="/about.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','/images/about-over.gif',1)"><img name="about" border="0" src="/images/about.gif" width="36" height="11" alt="About" /></a></td>
<td width="10"><img src="/images/block_change.gif" width="10" height="11" alt="" /></td>
<td><a href="/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','/images/home-over.gif',1)"><img name="home" border="0" src="/images/home.gif" width="47" height="11" alt="Home" /></a></td>
</tr>
</table></td>
</tr>
<tr valign="bottom">

<td width="14%" height="50" class="bgMiddle" align="center"><a href="/features.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('features','','/images/b_features-over.gif',1)"><img name="features" border="0" src="/images/b_features.gif" width="53" height="50" alt="Features of phpBB" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/demo.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('demo','','/images/b_demo-over.gif',1)"><img name="demo" border="0" src="/images/b_demo.gif" width="44" height="50" alt="Test drive phpBB" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/downloads.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('downloads','','/images/b_downloads-over.gif',1)"><img name="downloads" border="0" src="/images/b_downloads.gif" width="69" height="50" alt="Downloads" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/support/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('support','','/images/b_support-over.gif',1)"><img name="support" border="0" src="/images/b_support.gif" width="52" height="50" alt="Support for phpBB" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/phpBB/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('community','','/images/b_comm-over.gif',1)"><img name="community" border="0" src="/images/b_comm.gif" width="72" height="50" alt="The phpBB Community" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/styles/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('styles','','/images/b_styles-over.gif',1)"><img name="styles" border="0" src="/images/b_styles.gif" width="41" height="50" alt="Styles for customising phpBB" /></a></td>
<td width="14%" height="50" class="bgMiddle" align="center"><a href="/mods/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('phpBBmods','','/images/b_mods-over.gif',1)"><img name="phpBBmods" border="0" src="/images/b_mods.gif" width="40" height="50" alt="3rd party modifications to phpBB" /></a></td>
</tr>
</table></td>

</tr>
</table>

<br clear="all" />
and then rename/add files in appropriate places?

User avatar
Jim_UK
Former Team Member
Posts: 18478
Joined: Tue Oct 12, 2004 5:36 pm
Location: Darwen N.West UK

Post by Jim_UK » Sat Jan 28, 2006 10:41 pm

The code will be in the file overall_header.tpl

Jim
The truth is out there.
Unfortunately they will not let you anywhere near it!

Locked

Return to “2.0.x Support Forum”