![]() |
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? |
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?
|
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? |
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?
|
All times are GMT. The time now is 02:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|