vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I modify the Navbar? (https://vborg.vbsupport.ru/showthread.php?t=267663)

Courty 07-30-2011 03:28 AM

How do I modify the Navbar?
 
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 [DATE]1312001554[/DATE] at [TIME]1312001554[/TIME] ---------------

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
Code:

<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.


Code:

<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?


All times are GMT. The time now is 12:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02048 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete