NAV_TABLE_COLUMN} with Home Button

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Carino
Posts: 98
Joined: Sat 25. Sep 2004, 13:27
Location: NRW - Oberbergisches Land
Contact:

NAV_TABLE_COLUMN} with Home Button

Post by Carino »

Hi,

searching for a solution. Nav Table Column is in use and I have to integrate the Home (Start site) Button inside the Menu.

ich suche eine Lösung. Ich nutze Nav Table Column und ich muss den Home (Startseite) Button ins Menü integrieren.

Thanx,

Carino
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you can't do this afaik.
you could... use another nav system with a nice css for this though.
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

offcourse you can !

Post by yuluma »

yes you can, I did that before.

Look at the sourcecode of your page and copy the code af one table in the menu. like this:

Code: Select all

<tr style="cursor:pointer;cursor:hand;" onClick="location.href='index.php';return false;" onMouseOver="MM_swapImage('linkidqGuHtO','','img/article/nav_link_1.gif',1);" onMouseOut="MM_swapImgRestore();">

<td ><img src="img/leer.gif" width="1" height="1" alt="" /></td>
<td valign="top"><img src="img/article/nav_link_0.gif" alt="" border="" name="linkidqGuHtO" id="linkidqGuHtO"></td>
<td valign="top" style="height:15px;"  width="100%" class="nav_table"><img src="img/leer.gif" width="1" height="2" alt="" /><br /><a href="index.php">Homepage</a><br /><img src="img/leer.gif" width="1" height="2" alt="" /></td>
<td width="0"><img src="img/leer.gif" width="2" height="15" alt="" /></td>
</tr>
and just copy it into your template above the nav_column tag! Now change the word of the menu item you copied...

there you go..... just the same, only not interactive, but your homepage will stay your homepage I asume...
Yuluma Nunbanna - workaholic ad dies vitae
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

No need to mess around with the source code.
Just create another category called "Home" (which will show up in the menu) and cut and paste your home page article(s) onto that page. On thw normal homepage create an article that redirects to your new homepage. Done.
Post Reply