 | |  | |
July 26th, 2005, 08:24 PM
|
#1 (permalink)
| | Member
Join Date: Aug 2004 Location: Arizona
Posts: 325
| Nav Bar
Has anyone else noticed that after the install of the gallery is completed...there is no mention of having to manually adjust the navbar to include a link to the gallery. I think this might be something useful to add to the instructions.
Also, when in the gallery, the navbar links are all changed to look in the gallery folder, versus the forums folder. Are we supposed to change the links to absolute URLS within the navbar??
Thanks!
|
| |
July 26th, 2005, 08:27 PM
|
#2 (permalink)
| | Ultimate Member Verified Customer
Join Date: Nov 2003 Location: Raleigh, NC
Posts: 1,413
| Re: Nav Bar
Make sure that
memberlist.php
usercp.php
register.php
faq.php
calendar.php
search.php
login.php
forumdisplay.php
profile.php
private.php
subscription.php
member.php
online.php
are all listed in your navbar replacements in AdminCP / vba CMPS / Default Settings
And even if they are already there Save the settings again anyway.
|
| |
July 26th, 2005, 09:23 PM
|
#4 (permalink)
| | Member
Join Date: Aug 2004 Location: Arizona
Posts: 325
| Re: Nav Bar
Ya I got the links worked out...guess I am curious if we are supposed to modify the navbar to link it to the gallery or is that something the installer was supposed to do?
|
| |
July 26th, 2005, 09:25 PM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Nov 2003 Location: Raleigh, NC
Posts: 1,413
| Re: Nav Bar
Yeah, sorry. But the Gallery should have the same Replacements section though.
Yes, you'll need to add your own link to the Gallery wherever you'd like it.
|
| |
July 26th, 2005, 09:29 PM
|
#6 (permalink)
| | Member
Join Date: Aug 2004 Location: Arizona
Posts: 325
| Re: Nav Bar
Ok that is what I thought, however, was not 100% sure
Thanks Conq for taking the time!!!
|
| |
July 27th, 2005, 12:51 AM
|
#7 (permalink)
| | Member
Join Date: Aug 2004 Location: Arizona
Posts: 325
| Re: Nav Bar
Hey another quick question...I am not a coder so I am not sure if things changed in 3.5 RC 1, however, would this be the proper code to use to add the Gallery linke to the navbar?? Or is there a better way of coding this? Quote: |
<td class="vbmenu_control"><a href="$vboptions[homeurl]/gallery">Gallery</a></td>
| Thanks!
|
| |
July 27th, 2005, 02:24 AM
|
#8 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2004 Location: Tempe, Arizona
Posts: 2,240
| Re: Nav Bar
Add this: Code: Content visible to verified customers only.
When on your portal it will show Forums & Gallery
When on your Forums it will show Home & Gallery
When on your Gallery it will show Home & Forums
Well you get the idea.
or for just the gallery: Code: Content visible to verified customers only.
|
| |
July 27th, 2005, 10:06 PM
|
#10 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2004 Location: Tempe, Arizona
Posts: 2,240
| Re: Nav Bar
It works on your forums.. What you talking about
|
| |
July 28th, 2005, 03:05 AM
|
#11 (permalink)
| | Member
Join Date: Aug 2004 Location: Arizona
Posts: 325
| Re: Nav Bar
Just so you know...I have modified your code...this is the correct version Quote:
<if condition="THIS_SCRIPT != 'adv_index'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]$session[sessionurl]">Home</a></td>
</if>
<if condition="defined('VBA_SCRIPT')">
<td class="vbmenu_control"><a href="$vboptions[bburl]$session[sessionurl]">Forums</a></td>
</if>
<if condition="VBA_SCRIPT != 'gallery'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]/gallery$session[sessionurl]">Gallery</a></td>
</if>
| If anyone sees any issues with this, please let me know!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:39 AM. | |