PDA


View Full Version : breadcrumbs and navbar


TraumTeam
08-04-2004, 09:53 AM
Hello,

i changed the look & feel of the vblinks like in the vbforum.
I put the link navbar into the normal navbar table. So i dont have two ones ...

Now i got the problem, that i dont see the breadcrumbs of the link categories, altough its the same code. For better Testing i added both the normal navbar and the adv_links_navbar Template into the current system. http://www.traum-projekt.com/links/browselinks.php?c=13

Why in the first ($navbar) the breadcrumbs are shown and in the second table it dont show up ?

Normally i will cut off the navbar template in the vblinks with an "if" condition ...

Thanks for reply ...
Rob

Brian
08-04-2004, 01:19 PM
The 'adv_links_navbar' template is evaled near the very beginning of the file, while the navbits are handled usually at the very end of a file. Since the adv_links_navbar template is done before everything else, the $navbar variable isn't going to contain all of the information yet.

TraumTeam
08-04-2004, 08:48 PM
and the solution for it ?

if condition in the navbar template instead of the adv...links_navbar template ?

TraumTeam
08-05-2004, 04:33 AM
I tried the if condition in the navbar template and now its works :)
But perhaps there is a better solution for it ?

Brian
08-05-2004, 04:37 AM
That should work fine. :)