PDA


View Full Version : Main Page Navigation bar link - How?


Mr Footlong
07-17-2004, 01:30 PM
Hi there, firstly I will get the brown-nosing out of the way by saying that VBadvanced has been the best portal/content system that I have ever come across on VB personally and the CMPS product is really excellent.

Hehe, with that out of the way, my little issue. Probably me being a numpty, but hopefully one of you guys can help me out.

I have just purchased and installed the Links directory and everything went like clockwork. However, the only way that I can get to it is by typing in the url, as it is nowhere to be seen on the main CMPS site menu or the normal VB top menu.

Could you guye have a stab at what I have done wrong or point me in the right direction to add it in?

http://www.ftaclan.com is the website

http://www.ftaclan.com/links is where the links directory is. Rights have been set up by me to not allow anon access.

Any help most appreciated.

Cheers,

Nick :)

Brian
07-17-2004, 01:58 PM
It's up to you where you add the link. It can be added anywhere really, but it seems that quite a few people like to add it to their 'navbar' template. ;)

Mr Footlong
07-17-2004, 02:31 PM
Thanks for the reply. Ideally I would just like it to appear up with the rest of the main options. On a 1024x768 display that may look a little cramped tho.

Could the FAQ link in my case be replaced with the Directory link?

Sorry m8, I am a Network Guru, not a Code Guru, so I would love a hand with what to change in the template;)

I have looked in the Navbar template and don't really want to risk borking it tbh and I though, perhaps stupidly on my part that the installer would have put a link in, as I didn't recall anything in the read me saying that I would have to do myself.

Don't get angry with me for being stoopid, It's just my brain shuts down 85% of it's power on a Friday evening and engages 'Dribbling Idiot' mode for 48 hours ;)

Cheers,

Nick :)

Brian
07-17-2004, 02:38 PM
Well if you just want to replace the FAQ link, you could do this...

In your navbar template, look for:

<a href="faq.php?$session[sessionurl]">$vbphrase[faq]</a>

And replace that with:

<a href="/links/?$session[sessionurl]">Links</a>


Or, if you just want to add a link to the links directory somewhere, you would want to add this code somewhere between a ending </td> and the next beginning <td tag somewhere near the FAQ link:

<td class="vbmenu_control"><a href="/links/?$session[sessionurl]">Links</a></td>

Mr Footlong
07-17-2004, 03:13 PM
If I were that way inclined I would kiss you sir :D

Spot on, thank you very much :)

Cheers,

Nick :)

Allen Mead
07-20-2004, 05:23 PM
Hi guys, this might sound like a siily question, but what file would i find this in??

Cheers.

Mr Footlong
07-20-2004, 05:25 PM
Admin CP > Style Manager > Edit template > Navigation / Breadcrumb Templates > Navbar :)

Allen Mead
07-20-2004, 05:36 PM
You're a genius!!!

Thanks very much fella!!!

Am only just discovering how customisable this software is.