The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I'm having a strange problem with a template on the standard error page
This is the weirdest thing. When I go to the standard error page on my site, the left side bar is empty.
From the debug code, I can see that the template was loaded. But, none of the content is there - even the static stuff. I'm totally stumped. Any thoughts? Amy p.s. I'm not using the sidebar plugin that I released here. I'm using a code mod that evaluates the template right after the header template is evaluated in global.php |
#2
|
||||
|
||||
have you tried setting the variable globally?
add it to functions standard_error() or standard_redirect() and see if that works FYI A better solution would be to add the sidebar code to your header or navbar templates ... 1 less template to call per page --- oops, sorry I didn't notice that this was a 3.5 forum -- I don't know if the above would relate since I haven't even installed vb 3.5 |
#3
|
||||
|
||||
try using GENERIC_SHELL template
edit: misread your post, some errors here doesnt show the navbar, "new posts" with no new posts sometimes show it and sometimes it doesnt |
#4
|
||||
|
||||
It's showing the navbar. Everything is there - even the left column. It's just empty even though the debug processing says it's been evaluated.
|
#5
|
||||
|
||||
I had a problem with the standard error not showing things that I calculated in global.php - I had to add them to the standard error function global statements in functions.php (around line 2147).
|
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
to avoid that, you could try $GLOBALS[varname].
|
#8
|
||||
|
||||
I just had to go to the standard error function and bring in the variable names that I used in my side bar. Had to do it in the arcade too. Works like a dream now.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|