PDA


View Full Version : Nav bar Query


Allen Mead
08-14-2004, 12:24 PM
How do I get the root of the nav bar to point to my forum home which is /forum/forum.php and not my cmps_index.php which is named index.php which is /index.php

At the mo the link points to /forum/?

Any help much appreciated :)

Brian
08-14-2004, 01:54 PM
If you'll open your forum/includes/functions_links.php file and look for:


'\'misc.php',
$vboptions['bbtitle'],
'"' . $vboptions['forumhome'] . '.php'


Replace that with:

'\'misc.php'

Then find:
'\'' . $vboptions['bburl'] . '/misc.php',
iif($vba_options['links_navbarhomelink'], $vboptions['hometitle'], $vba_options['links_title']),
'"' . iif($vba_options['links_navbarhomelink'], $vboptions['homeurl'], $vba_options['links_homeurl'])


Replace that with:
'\'' . $vboptions['bburl'] . '/misc.php'

And that should do the trick. :)

pdatotaal
08-20-2004, 12:36 AM
Same kind off problem I have to: it points now to http://www.yoursite.com/?
But I want it point to: http://www.yoursite.com/adv_index.php?
How can I do that?
Brian you fix delete lot of code! Will it still works everything?

Brian
08-20-2004, 01:59 PM
Just change your 'Homepage URL' option in your admin cp to http://yoursite.com/adv_index.php ;)