View Full Version : Change links in header on home page
Underground
06-17-2005, 12:36 PM
I just installed vba today and its great.
The links in the header on the home page dont point to my /forums directory. This is the directory that my forum is in. Everthing else seems to be working fine for me.
My other question is on the Site Navigation box i have added several links and that works fine but I cant figure out how to remove the Default / Homepage link that links to http://localhost/cmps_index.php?page=home
Thanks
Underground
06-17-2005, 12:39 PM
Also one more thing. After I installed vba everytime i am in the admin panel and click a new link it opens a new window. How can i change this?
UnderGrass
06-17-2005, 01:26 PM
edit the template "adv_portal_navigation"
i make this:
<meta http-equiv="Content-Language" content="en-us">
<tr>
<td class="$bgclass">
<p style="margin-top: 0; margin-bottom: 0"><span lang="he">
<a href="index.php">Home Page</a></span></p>
<p style="margin-top: 0; margin-bottom: 0"><span lang="he">
<a href="forum/index.php">Forums</a></span></p>
KW802
06-17-2005, 01:31 PM
For the links in your header, go into the Default Settings and copy the entries from the "Navbar Replacements" section into your "Header Replacements" section.
Underground
06-17-2005, 02:11 PM
For the links in your header, go into the Default Settings and copy the entries from the "Navbar Replacements" section into your "Header Replacements" section.
Great that took care of it.
Any idea on how to get the links in the admin panel to open in the same window?
Brian
06-17-2005, 02:19 PM
Sounds like you modified the admincp/index.php file incorrectly, or the editor you used changed some stuff it shouldn't have. Get a fresh, un-hacked version of that file and reapply the changes using Notepad or another simple text editor. Do not use Dreamweaver or any scripts that allow you to edit the files directly on the server as those have been known to cause problems.
Underground
06-17-2005, 02:34 PM
Sounds like you modified the admincp/index.php file incorrectly, or the editor you used changed some stuff it shouldn't have. Get a fresh, un-hacked version of that file and reapply the changes using Notepad or another simple text editor. Do not use Dreamweaver or any scripts that allow you to edit the files directly on the server as those have been known to cause problems.
Ok I used EditPad Pro and it worked fine now.
Thanks.
BTW this is truely an awesome addon/portal. I love it.
Thanks
mongoose
09-18-2005, 12:14 AM
"For the links in your header, go into the Default Settings and copy the entries from the "Navbar Replacements" section into your "Header Replacements" section."
- answered my question, worked like a charm.
mattyk72
03-21-2006, 01:12 AM
I just installed vba today and its great.
The links in the header on the home page dont point to my /forums directory. This is the directory that my forum is in. Everthing else seems to be working fine for me.
My other question is on the Site Navigation box i have added several links and that works fine but I cant figure out how to remove the Default / Homepage link that links to http://localhost/cmps_index.php?page=home
Thanks
I'm having the same problem with the default / homepage link showing up in my site navigation box... maybe I'm just tired but I didn't understand how to fix this from reading above. Can someone please help?? thanks
Ozzie
03-21-2006, 07:09 AM
What I found worked for me was to:
1. Make sure you have the exclude page set correctly.
AdminCP -> vBa CMPS -> Edit Modules - > Site Navigation -> Site Navigation Options -> Pages to Exclude -> use the same name as for #2 below.
2. Make sure you use the same page name in Page Title.
AdminCP -> vBa CMPS -> Edit Pages -> "Go" -> Main Options -> Page Title -> same name as in #1.
mattyk72
03-21-2006, 09:21 AM
What I found worked for me was to:
1. Make sure you have the exclude page set correctly.
AdminCP -> vBa CMPS -> Edit Modules - > Site Navigation -> Site Navigation Options -> Pages to Exclude -> use the same name as for #2 below.
2. Make sure you use the same page name in Page Title.
AdminCP -> vBa CMPS -> Edit Pages -> "Go" -> Main Options -> Page Title -> same name as in #1.
still not working :(
mattyk72
03-21-2006, 11:36 AM
ok I figured it out, when I excluded the page I held down CTRL and selected it and that seemed to do the trick.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.