The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to Add Navbar Links to CMS/Blog
Hi all,
When I try to add a link in the navigation menu to the blog/cms, I get this error: Quote:
|
#2
|
||||
|
||||
I am able to add links to the Blog just fine via the Navigation Manager.
For the CMS, you need to add the links by editing the Section and then adding to the navigation there. |
Благодарность от: | ||
Daniel |
#3
|
||||
|
||||
Cheers to helping me out. I was able to add a link to Blogs too.
For CMS I'm having a bit more trouble: how exactly do I add a link to the navbar in a section? |
#4
|
||||
|
||||
When you click to Edit the Section, the navbar is controlled by this area of the page
Attachment 151395 If you are talking about adding non-articles/non-sections to the sub-menu, then you would need to modify the template directly. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.) |
#5
|
||||
|
||||
Thanks for the help Lynn. Here's a fix for future people:
My issue: I was trying to add a custom link to the vBCMS pages. They don't allow you to do that, so do this instead: My fix: Go to navbar_tabs template Find HTML Code:
<vb:if condition="$link['type'] == 'link'">
HTML Code:
<vb:if condition="THIS_SCRIPT == 'vbcms'"> <li id="{vb:raw sublink.name}"><a href="list.php?author/{vb:link member, {vb:raw bbuserinfo}}">My Posts</a></li> </vb:if> |
2 благодарности(ей) от: | ||
Lynne, nolimitreef |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|