PDA

View Full Version : How do I change navbit code?


oooh em geee
02 Dec 2009, 23:16
I have the following code for a custom page called staff.php:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



How can I make 'About HUD' appear in front of 'Staff' in the navbit area? I want 'About HUD' to show in front of 'Staff' in the navbit area, because 'Staff' is a Sublink of 'About HUD'.
See images as reference.

Lynne
03 Dec 2009, 04:47
Weird thing is it used to be there in an early beta and users complained about it being there and so it was taken out. Since the code was changed so it won't show up there any longer, I think you will have to manually add it into your navbar template. Basically write a condition that says "if not on content page (that is the cms page), then show this....." and put the link there. I think that would be :



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



(Or use whatever condition you use to make the About HUD link active in the navbar.)

Mythotical
12 Dec 2009, 00:12
Here is what your looking for:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That will get the results you want without using an if condition.

Jaxel
29 Mar 2010, 04:46
This solution doesn't work for me... I need a way to add navbits in DIFFERENT lines, not a single line. You could do this in VB3, how do you do this in VB4?