The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add "Home" Button
I asked this question before when I was on VB4 but I want to know how to achieve the same result with VB3 because the template is a bit diff. now I don't know where to insert the phrase
See my original question: https://vborg.vbsupport.ru/showthread.php?t=274116 Where shall I insert this? <li><a class="navtab" href="http://berryracer.com">Home</a></li> |
#2
|
||||
|
||||
You wouldn't use "navtab" nor would you use the css, take a look at the navbar template and copy how the links are done there
|
#3
|
||||
|
||||
There is an article in the vB3 area regarding how to add navtabs - you should check it out. I think it is by Calorie.
|
#4
|
|||
|
|||
Quote:
The code is too complicated for a n00bie like me to understand. I couldn't find anything that says http:// in there, for example, the code I found which is for the navbar is like: Quote:
My home button should link to: http://berryracer.com |
#5
|
|||
|
|||
Lol.
Go into the navbar template, and find: HTML Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> HTML Code:
<td class="vbmenu_control"><a href="http://berryracer.com/">Home</a></td> Enjoy. |
3 благодарности(ей) от: | ||
Lynne, MaXimus, Simon Lloyd |
#6
|
|||
|
|||
Thanks a lot bro!!!!! that was very easy!
I really appreciate it |
Благодарность от: | ||
CoffeeLovesYou |
#7
|
|||
|
|||
no problem
if you want to add a button that should only be visible to members of your forum when they are logged in, you could stick it right UNDER the if condition, and right above the usercp link start. |
#8
|
|||
|
|||
Thanks a lot champ
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|