Quote:
Originally Posted by princeedward
i dunno what you mean here...i hope this is the one...hope it help you...
if i or the members are on Portal Page which is my Homepage...they can see/click only the Forums to my navbar (left) which a direct link to my forum...the other way also...if they are on my Forum Page...they can see/click only to my navbar the word Home which is the direct link to my portal...meaning auto-change...
Go: ACP > Styles & Templates > Search in Templates > Search in Style > Search for Text: Navbar > Click Find > Locate/Double Click Navbar...
Find:
Code:
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
Add Below:
No Image Navbar:
Code:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://yoursite.com/index.php"> Forums <else /> <a href="http://yoursite.com/"> Home </if></a></td>
Navbar Style With Image:
Code:
<td align="left" valign="top" width="90" height="55"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://yoursite.com/index.php"><img src="$stylevar[imgdir_misc]/nav_forums.gif" border="0" alt="" /><else /><a href="http://yoursite.com/"><img src="$stylevar[imgdir_misc]/nav_home.gif" border="0" alt="" /></if></a></td>
best regards....

|
I got an error message when I tried that
Quote:
>>"The conditional on line 6 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.
|
If anyone would know how to correct that it would be much appreciated. I am trying to have a Forums button on my home page and a Home button on my forum page so people can navigate back and forth. Its probably simple but I am very new at this. TIA
--------------- Added [DATE]1236819719[/DATE] at [TIME]1236819719[/TIME] ---------------
Quote:
Originally Posted by Analogpoint
Find this:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
And add this right above it.
Code:
<td class="vbmenu_control"><a href="YOURURL">Home</a></td>
|
That works fine but it gives me a Home button on my home page and on my forum page. Is there a way to change that so you get a home button on my forum page page and forum button on my home page ?
TIA