![]() |
Breadcrumb 'Overhaul'
1 Attachment(s)
Notice: Please do not alter 'my' code to your liking and then claim it's your own. Altering it for personal use is fine.
Do note that this modification was made to my personal taste. For instance, the last bit of the breadcrumb (basically, the location of where you are at, at the moment) has been removed as I personally thought it wasn't needed. But that's my opinion anyway. :) I do not support - if anyone seeks such - custom or heavily modified templates. This template modification has been tested using the default vBulletin style. Description: I wanted to tweak my board to my personal taste. Once I came across SWGEmu, I was inspired by it and thus after a while, decided to figure it out and do something similar -- took me quite some time, but worth every minute! Anyway, this template modification alters the breadcrumb along with the forum description bits (the ones that are displayed in FORUMDISPLAY and SHOWTHREAD). It makes things, in my opinion, look 'neater'. Instructions: Navigate to your 'Breadcrumbs / Navigation' templates in the Style Manager of your AdminCP. Open the navbar template. Once there, search for the following lines: Code:
<!-- breadcrumb, login, pm info --> Code:
<td class="alt1" width="100%"> Code:
<if condition="$show['forumdesc']"> Now, find the following line: Code:
<!-- / nav buttons bar --> Code:
<br /> Code:
#breadcrumb-bit { ---------------------------------------------------------------------------- If you'd like the forum name to display in front of description too, add in front of it: Code:
$foruminfo[title] HTML Code:
<if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong> That's pretty much it. Do click install if you like it! :) |
Very nice. Think I would be allowed to implement this into one of the styles I make if i give you credits?
|
Good Job :)
|
Thanks. :)
Quote:
|
Quote:
|
Updated original post with contents on how to add the last element. If you want to do so, add the following where you deem it necessary. The markup / container for that is up to you.
HTML Code:
<if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong> |
thank you
|
All times are GMT. The time now is 11:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|