vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v4.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-18-2010, 05:42 AM
nottherealdeal nottherealdeal is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Default Navbar Problems

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"
Attached Images
File Type: jpg navbar.jpg (23.1 KB, 224 views)
Reply With Quote
  #2  
Old 07-19-2010, 01:39 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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.
Reply With Quote
  #3  
Old 07-25-2010, 01:16 AM
nottherealdeal nottherealdeal is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Default

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?
Reply With Quote
  #4  
Old 07-26-2010, 04:41 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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.
Reply With Quote
  #5  
Old 01-10-2011, 05:22 PM
1kether1 1kether1 is offline
Member
 
Join Date: Feb 2006
Posts: 63
Default

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.
__________________
Reply With Quote
  #6  
Old 01-12-2011, 03:17 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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.
Reply With Quote
  #7  
Old 01-15-2011, 02:52 PM
AcidSpark AcidSpark is offline
Junior Member
 
Join Date: Jan 2011
Posts: 7
Default

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?
Reply With Quote
  #8  
Old 02-06-2011, 08:17 AM
Schoelle Schoelle is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Default

Quote:
Originally Posted by AcidSpark View Post
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?
Same problem here!
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?
Reply With Quote
  #9  
Old 02-09-2011, 01:43 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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.
Reply With Quote
  #10  
Old 10-28-2011, 04:21 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

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
Reply With Quote
  #11  
Old 10-29-2011, 03:05 AM
Sicilian Sicilian is offline
Junior Member
 
Join Date: May 2010
Posts: 10
Default

Having the same issue here
Attached Images
File Type: png with-homepage.PNG (16.2 KB, 47 views)
File Type: png without-homepage.PNG (9.2 KB, 45 views)
Reply With Quote
  #12  
Old 10-31-2011, 01:29 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

http://www.vbadvanced.com/forum/show...8&postcount=10
Reply With Quote
  #13  
Old 12-02-2011, 03:57 AM
Shadowl0rd's Avatar
Shadowl0rd Shadowl0rd is offline
Junior Member
 
Join Date: Nov 2011
Location: Spain
Posts: 3
Default

Same problem here

The Dragonsys code dont do nothing for me

Any help?
Reply With Quote
  #14  
Old 12-02-2011, 09:44 PM
r_hippy's Avatar
r_hippy r_hippy is offline
Member
 
Join Date: Jul 2008
Posts: 67
Default

Quote:
Originally Posted by Shadowl0rd View Post
Same problem here

The Dragonsys code dont do nothing for me

Any help?
http://www.vbadvanced.com/forum/show...6&postcount=13
__________________
Backup Backup Backup.. Thats all I can say
Reply With Quote
  #15  
Old 12-03-2011, 04:52 AM
Shadowl0rd's Avatar
Shadowl0rd Shadowl0rd is offline
Junior Member
 
Join Date: Nov 2011
Location: Spain
Posts: 3
Default

Quote:
Originally Posted by r_hippy View Post
thanks thanks thanks thanks!!!!!!!!!!!!!

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>
I´m really happy because I have spend several hours with this problem.

Thanks a lot!

Last edited by Shadowl0rd; 12-03-2011 at 09:26 AM.
Reply With Quote
  #16  
Old 02-21-2012, 10:27 AM
ispots ispots is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default

Thanks to both of you, you solved a problem I couldn't figure out on my own!
Reply With Quote
  #17  
Old 03-01-2012, 06:55 PM
Gayla Gayla is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

Quote:
Originally Posted by Shadowl0rd View Post
thanks thanks thanks thanks!!!!!!!!!!!!!

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>
I´m really happy because I have spend several hours with this problem.

Thanks a lot!
Not sure if anyone can help with this still but I think I had the same problem. I had already added the "Homepage" link on the Nav bar by selecting that option when editing the page. Then, when I replaced the existing code with the new code from the link above, the "Homepage" link disappeared.

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?
Reply With Quote
  #18  
Old 09-19-2012, 03:08 PM
vauxmod vauxmod is offline
Junior Member
 
Join Date: Sep 2012
Posts: 16
Default

that code done nothing on mine either
Reply With Quote
  #19  
Old 11-09-2012, 04:31 PM
Fred Weiss's Avatar
Fred Weiss Fred Weiss is offline
Junior Member
 
Join Date: Sep 2009
Location: Lake Worth, Florida
Posts: 18
Default

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?
__________________
Fred Weiss
Signs101.com
Reply With Quote
  #20  
Old 12-01-2012, 09:14 PM
Warden-B- Warden-B- is offline
Member
 
Join Date: Jul 2007
Posts: 51
Default

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();
}
Can we somehow alter it so that the "children" links show for VBA CMPS?
__________________
Global-Gamers

Last edited by Warden-B-; 12-01-2012 at 10:09 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 06:11 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.