PDA

View Full Version : newby question about link in navbar


AbadiRed
06-18-2009, 02:18 AM
How do I replace the "Home" link in cmps navbar with "Forum" that will bring back to forum index

care to help?

Thanks

AbadiRed
06-19-2009, 03:23 PM
Anyone?

This is what I meant. I want it to be "Forums" and link back to forums index
Anyone care to point me which template to edit and what codes to replace?

vb3.8.3
cmps 3.2

Our Sponsors
 

Brian
06-22-2009, 12:17 PM
You'd need to edit your navbar template and replace that link. That 'home' button is not a default link, so it looks like you've already done that much to add the link in the first place.

AbadiRed
06-23-2009, 12:13 AM
Nope, I have not done anything. It was fresh install.

Anyway, I've found the answer, and added this codes in navbar template

<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="THIS_SCRIPT == 'adv_index'">
<td class="vbmenu_control"><a href="$vboptions[bburl]?$session[sessionurl]">
Forums
<else />
<td class="vbmenu_control"><a href="$vboptions[homeurl]?$session[sessionurl]">
Home
</if> <if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>


and working nicely.

Our Sponsors
 

dead fury
06-30-2009, 07:03 PM
smart. and if i were you, i would change the today's post tab to forums instead. then re-arrange if wanted.