![]() |
|
#1
|
|||
|
|||
|
On the "Forum page" I have links in the navbar but on my "Homepage" the nav links do not show?
How can I fix this, I have spent hours trying to work out how to get them on the "Homepage" |
|
#2
|
||||
|
||||
|
About the only way I'm aware of to do that would be to copy those links and code from your default Navbar template to your 'adv_portal_navbar' template.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#3
|
|||
|
|||
|
Thanks for your reply,
I can't find the 'adv_portal_navbar' template I have tried all these but they are not right. adv_portal_navigationbits adv_portal_navigation adv_portal_navtab adv_portal_navtab_subpages any further thoughts? |
|
#4
|
||||
|
||||
|
Sorry, 'adv_portal_navtab' would be the correct template.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#5
|
|||
|
|||
|
I have tried doing this and it doesn't seem to work. I can get the links to show up,but when I go to a different tab (forum) the links are there also and on top of the existing links. (Both show at the same time).
Can you offer more clearer instructions? I have pasted and pasted and reverted and pasted, etc.. Not having any luck with solving this issue. Thanks for the help.
__________________
|
|
#6
|
||||
|
||||
|
Try wrapping this code around the code you copied from your navbar template into your adv_portal_navtab template:
Code:
<vb:if condition="THIS_SCRIPT == 'index'"> (code from your navbar template here) </vb:if>
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#7
|
|||
|
|||
|
Brian i found something interesting.
subNavbar buttons hide (see 1st post) only if we add navbar button for page (in page options). may be its a bug? |
|
#8
|
|||
|
|||
|
Quote:
If i set "Add Navbar Link" to Start/Middle/End the subnav links are gone. Deactivating the Navbar link brings them back! Any solution to this? |
|
#9
|
||||
|
||||
|
That's working as designed. Because of the way vBulletin's navbar template is constructed, there's not an easy way to include those sub-links that I'm aware of.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#10
|
|||
|
|||
|
Any solution for this? I would like to add the forum links to my CMPS page. Adding the code from Navbar to adv_portal_navtab doesn't work : s
|
|
#11
|
|||
|
|||
|
Having the same issue here
|
|
#12
|
|||
|
|||
|
|
|
#13
|
||||
|
||||
|
Same problem here
The Dragonsys code dont do nothing for me Any help? |
|
#14
|
||||
|
||||
|
Quote:
__________________
Backup Backup Backup.. Thats all I can say
|
|
#15
|
||||
|
||||
|
Quote:
I have needed to add this code just in front of your CODE to fix the main navbar, for some reason the main navbar button "homepage" disappear. Now everything perfect for me Code:
<li<vb:if condition="$tabselected"> class="selected"</vb:if>><a href="{vb:raw vboptions.vba_portal_homeurl}<vb:if condition="$cmps_page['name'] == 'home'">{vb:raw session.sessionurl_q}<vb:else />?{vb:raw session.sessionurl}{vb:raw vboptions.vba_portal_pagevar}={vb:raw cmps_page.name}</vb:if>" class="navtab">{vb:raw cmps_page.title}</a></li>
Thanks a lot! Last edited by Shadowl0rd; 12-03-2011 at 09:26 AM. |
|
#16
|
|||
|
|||
|
Thanks to both of you, you solved a problem I couldn't figure out on my own!
|
|
#17
|
|||
|
|||
|
Quote:
I'm not sure where to add the line that you say fixed it but I've tried in a few different places and it doesn't seem to work. Any ideas? |
|
#18
|
|||
|
|||
|
that code done nothing on mine either
|
|
#19
|
||||
|
||||
|
Adding those two sections of code to adv_portal_navtab resulted in the Forums Sub Menu items showing up under the Home Tab when the adv setup page has "Add Navbar Link" on.
Now where do I go to add additional items and what would be the code for each item? |
|
#20
|
|||
|
|||
|
Same problem here. Homepage has no sub-navbar, but forums do.
This is happening on my test site, not my production site. My production site uses vBa 4.2.0, not 4.2.1.I found this in the NAVBAR: Set CMS Links plugin: Code:
if (defined('CMS_SCRIPT') AND $tabdata[$tabid]['name'] == 'vbtab_cms')
{
$tabdata[$tabid]['children'] = vBCms_NavBar::getLinks();
}
__________________
Global-Gamers Last edited by Warden-B-; 12-01-2012 at 10:09 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NavBar Problems | abvolt | Troubleshooting & Problems | 3 | 07-09-2008 11:22 PM |
| Problems with navbar | Greek76 | Troubleshooting & Problems | 7 | 05-29-2008 07:33 AM |
| Navbar problems | chatura | Troubleshooting & Problems | 4 | 02-12-2008 01:13 PM |
| Navbar problems | CompletevB.com | Troubleshooting & Problems | 1 | 10-20-2007 12:44 PM |
| Navbar problems | russbo | Chit Chat | 1 | 12-03-2004 03:06 AM |