View Full Version : I need help adding a "home" button to my pages
jaybquick
01-05-2006, 07:54 AM
I added a home page via cmps. I also added a "forum" button. I just need to add a "home" button to go back to the cmps page. I tried to edit the xml template and upload just like I did with the "forum" button. It did not work.
Please help. Thanks
here is the link to my site: http://www.centralvalleyspeed.com
peterska2
01-06-2006, 02:55 PM
In your navbar template
FIND
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
ADD BEFORE
<td><a href="$vboptions[homeurl]">Home</a></td>
<td><a href="$vboptions[bburl]">Forums</a></td>
jaybquick
01-06-2006, 03:24 PM
In your navbar template
FIND
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
ADD BEFORE
<td><a href="$vboptions[homeurl]">Home</a></td>
<td><a href="$vboptions[bburl]">Forums</a></td>
I hope I did this right. I did this in the admin control panel instead of manually. The navbar template or any other template doesn't have it, I did the search. I was only able to add the other one to the main XML template file then upload it to get forums. however that did not work for adding a home button.
peterska2
01-06-2006, 04:09 PM
that code was taken from the default navbar template.
yes doing it via the acp and style manager is correct
jaybquick
01-07-2006, 02:34 AM
that code was taken from the default navbar template.
yes doing it via the acp and style manager is correct
have the red2black and I can add it to the XML template but it doesn't work. It did work for m forums link though. Any ideas where else I should add this in the red2black stuff.
Thanks again for all your help.
peterska2
01-07-2006, 12:39 PM
Not a clue. Try asking in the support thread for that style.
jaybquick
01-07-2006, 08:53 PM
Not a clue. Try asking in the support thread for that style.
Ok, Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.