The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Stuff in footer dependent on body?
So I have some stuff in my footer, but I don't want it to show up if - for example, there is an error (search - no results found).
However the footer template is fetched before the search determines no results. Is there anything I can do about this? |
#2
|
||||
|
||||
The footer template is actually evaled when you call global.php at the top of the file. Is there someway you can put your custom code in another template?
|
#3
|
|||
|
|||
It's rather difficult to move everything around to support it in another template instead..
So what I ended up doing was put it in the *_complete of search, forum display and forum home... but I re-eval()'ed the footer.. I can';t really think of a better way but I know how inefficient eval() can be... any comments? |
#4
|
||||
|
||||
My only comment would be to take it out of the footer, but since you can't do that I guess you need to do your own work around. I'm guessing this is something you are putting on every page which is why you want it in the footer?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|