The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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. The reason that it is not working seems to be that there is a conditional in the breadcrumb code: PHP Code:
But I don't know why. Any suggestions, ideas? --don |
#2
|
||||
|
||||
![]()
$navbits and $navbar are defined before the page is displayed, whereas php_include code is output at the end of the header template. Try putting it near the end of global.php.
I'm gonna go test this to double check, so I'll be back in a few mins. --- Okay I got it working putting PHP Code:
PHP Code:
(well replace every navbar2 with navbar_breadcrumb, as that is what you used). |
#3
|
|||
|
|||
![]() Quote:
Okay, I edited global.php--and nothing blew up <g>! However, still no joy. Although the template displays, the breadcrumb won't leave crumbs. If you look at the attachment, you can see what I mean. The upper navbar/breadcrumb is produced by $navbar, the lower navbar/breadcrumb is produced by $navbar_breadcrumb. Again, these two template contain exactly the same code. :surprised: don |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|