Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-11-06 22:13:22
- anoke
- Archived Plugin Author
- Registered: 2006-04-15
- Posts: 152
Not to render the page footer at the admin side?
Possible?
I’d like outputting my own footer.. Any workarounds in mind?
(I’m creating pop-ups with some “meta” info about articles etc – the footer takes too much space.. I’d like to keep away from javascript as long as possible when generating the html though.)
- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -
Offline
Re: Not to render the page footer at the admin side?
After outputting the footer, simply add ‘exit’ to your plugin code.
You could miss out on some of the callback events that have be registered to occur after the main part of the admin page has been generated (if you have plugins installed that use such callback_events).
Last edited by ruud (2006-11-06 23:02:23)
Offline
#3 2006-11-07 05:10:56
- anoke
- Archived Plugin Author
- Registered: 2006-04-15
- Posts: 152
Re: Not to render the page footer at the admin side?
Thanks.
I used die() already but thought that there’s “something wrong” with that – didn’t cought those callbacks in my mind.
(I have now a iframed sidebar with my recent articles, just trying things out here :D )
- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -
Offline
Re: Not to render the page footer at the admin side?
Actually, either a call to die()
or exit()
will do just the same. They’re really the same function underneath it all, so either will do.
Offline