PDA

View Full Version : How do I modify the Navbar?


Courty
07-30-2011, 03:28 AM
Hi all, I have done a series of searches, but can't seem to find the instructions on how to do what I require. Maybe I'm just not using the correct terminology?

I need to rearrange the links on the secondary Navbar. I would like to remove one and (if possible) move some others to the 'Quick Links' drop-down menu. I'm not afraid of tinkering with the code in templates etc., but I really need some direction. Can any one help?

--------------- Added 1312001554 at 1312001554 ---------------

Here's a screenshot and some more detail about what I wish to do:

https://vborg.vbsupport.ru/external/2011/07/4.png

I want to remove the 'New Posts' link on the grey bar, and move 'Calendar' to the 'Community' drop-down.

RobbieZ
07-30-2011, 11:06 AM
I recognize that skin..

Everything you need is located inside your navbar template. These are controlled in the <li> element.

eg: <li>
<a href="goes somehwre">A title</a>
</li>

So to move Calendar into community look for this

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>

Copy and delete.

Now it depends where you want it, I've put mine before member list.


<vb:if condition="$show['memberslist']">
<li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
</vb:if>

paste your recent copy above it.

You should get this result

https://vborg.vbsupport.ru/external/2011/07/8.jpg

I've not moved this bit {vb:raw template_hook.navbar_after_calendar} <lol> perhaps an advisor can point that out :p

setishock
07-30-2011, 04:22 PM
RobbieZ What skin is that and do you have to buy it?