View Full Version : Need help with duplicating breadcrumb


darnoldy
28th July 2005, 03:43 AM
Folks-

Okay, i'm stumped. Heeeeelp!

I want to split the navbar and breadcrumb, so I can duplicate the breadcrumb at the bottom of the page.

I created a new template called "navbar_breadcrumb", added a fetch_template line to the phpinclude_start template, and inserted a $navbar_breadcrumb variable into the proper pages, then copied the entire navbar script into navbar_breadcrumb.

Now, here's the strange part....

When I display the page, the breadcrumb that is produced by the navbar template works, the breadcrumb that is produced by navbar_breadcrumb does not! They are the *same* code.

In the attached image, the top breadcrumb is produced by "navbar" and the bottom is produced by "navbar_breadcrumb".

The reason that it is not working seems to be that there is a conditional in the breadcrumb code:

<if condition="is_array($navbits)">

that is testing true in the navbar template and false in the navbar_breadcrumb template.

But I don't know why. Any suggestions, ideas?

--don

Brian
28th July 2005, 08:39 AM
I'm not sure whether this is the one that ur looking for:- http://www.vbulletin-fans.com/showthread.php?t=6721

Hopes it help. :)

darnoldy
28th July 2005, 10:17 AM
I'm not sure whether this is the one that ur looking forwell, that's the template that I'm working with...but it leaves the navbar and breadcrumb in the navbar template, so it doesn't to what i want. Thanks anyway

--don