View Full Version : My navbar items are different from my forum!
sifuhall
02-13-2006, 01:21 PM
There's a new book entry added:
My navbar items are different from my forum! (http://www.vbdrupal.org/node/12)
Edit the drupal_header template, and change it's navbar items to match yours.
Karlm
08-08-2006, 09:42 PM
Where is the drupal_header template? I do not see it in the .zip file at all :(
sifuhall
08-08-2006, 10:24 PM
This should only apply if you use the vbdefault theme and the templates are in the vbulletin admincp
Karlm
08-08-2006, 11:23 PM
Ahhhh gotchya (now this i DO understand lol)... i had thought it was a php/html template i was looking for in the vbdrupal zip. thanks :D
icebulletman
08-11-2006, 07:52 PM
i see no drupal_header i only see vbdrupal but no header associated
sifuhall
08-11-2006, 11:07 PM
In 4.6 it will be drupal_header.
In 4.7 uses your vbulletin navbar template if you are using the defaulttangy theme. If you are using the legacy theme default_vb it will be drupal_header under the vb drupal (legacy) templates.
icebulletman
08-12-2006, 12:37 AM
i ONLY see these templates:
VBDRUPAL
vbdrupal_block
vdrupal_comment
_help
_image_gallery
etc etc
i see no legacy or no templates
i notice i can edit footer header via VBDRUPAL
but if i insert phpadsnew invocation by javascript, NOTHING shows in my blocks.......
sifuhall
08-12-2006, 10:12 AM
i ONLY see these templates:
VBDRUPAL
vbdrupal_block
vdrupal_comment
_help
_image_gallery
etc etc
Then you must be running 4.7
i see no legacy or no templates
i notice i can edit footer header via VBDRUPAL
but if i insert phpadsnew invocation by javascript, NOTHING shows in my blocks.......
legacy is a seperate product you can install here, but back to the topic of this thread. Since you are running 4.7 you should be able to edit your navbar template directly in vbulletin and have it display in vbulletin if you are using the defaulttangy theme.
unique
04-17-2007, 10:27 AM
Thank you for your instructions, sifuhall!
I have found the navbar template in vBulletin, but unfortunately there is another issue...
The current position snippet in the navbar template is:
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a> $navbits[breadcrumb] <if condition="$navbits['lastelement']">» $navbits[lastelement]</if>
My vbDrupal installation is in the root of the domain, lets say it's http://domain.com/ and my forum is installed in http://domain.com/forum/
My navbar then displays as:
My forum (http://domain.com/forum/) > My portal (http://domain.com/) ? Current position
How can I change this to display only:
My portal (http://domain.com/) ? Current position
When I change the code as following:
$navbits[breadcrumb] <if condition="$navbits['lastelement']">» $navbits[lastelement]</if>
There is still a ">" in front of the navigation.
Can you please help me?
sifuhall
04-18-2007, 03:00 PM
That would require a conditional because if I understand what you are asking is you would like pages in drupal to appear with My Portal > and pages in your forum to appear as My forum >
Regarding the extra > check your template for anything like >> or whereever a double > exists when it should just be a single
unique
04-24-2007, 05:18 AM
That would require a conditional because if I understand what you are asking is you would like pages in drupal to appear with My Portal > and pages in your forum to appear as My forum >
Thank you very much for your reply! That's exactly my issue. Could you please help me with such a conditional?
sifuhall
04-24-2007, 01:22 PM
<if condition="THIS_SCRIPT == 'drupal'" >
This will only be shown on vbDrupal pages
<else />
This will only be shown on vBulletin pages
</if>
unique
04-27-2007, 04:12 AM
Thank you very much for your help, worked great!