The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to build new navigation...
Hello, I'm trying to build some new navigation based on categories, and forums. I think if you see my html, you'll see what I want to accomplish:
HTML Code:
<tr><td class="rootCategory"><a href="correct linking">Category 1</a></td></tr> <tr> <td class="subCategory"> <a href="correct linking">Forum 1</a><br> <a href="correct linking">Forum 2</a><br> <a href="correct linking">Forum 3</a><br> </td> </tr> I've looked around a bit, and I'm pretty much pulling my hair out right now (information overload I think). If someone could just get me started, that would be more than enough. Thanks all! -Sean |
#2
|
|||
|
|||
Perhaps I do not understand what you are after, but vB has this capability. You can define a forum to be a category only -- a heading for other forums. When adding a category forum, set "Act as forum" to no. To add a forum to this category, select "Add Child Forum" from the "Controls" drop-down menu in "Forum Manager".
|
#3
|
|||
|
|||
Right, I'm already doing that. What I'm trying to build is a new navigation for it. My forums are enclosed by a custom header and footer, and I'd like the left navigation to contain the categories/forums. Similar to how they are displayed on the front page, but not quite that complicated. The image I attached in the post above is what my left navigation looks like...
|
#4
|
|||
|
|||
So you have a left HTML frame that should contain only the forum names and, for the names that are not simply categories, a user should be able to click the forum name and have that forum displayed in the right-hand frame?
You will want to use cache_ordered_forums to build the list of forums in the proper display order. Example: Code:
require_once('./includes/functions_forumlist.php'); ... cache_ordered_forums(); What you are doing is similar to constructing the forum jump drop-down menu. Take a look at the function "construct_forum_jump" in "includes/functions.php". |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|