Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-10-17 17:01:27
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
pagetop() & admin plugins
For admin plugins that do not generate their own tabs, like for instance something that modifies the DOM on the “write” tab, is there any way at all set the pagetop message? It seems like a very basic thing to do, but I’ve been unable to find a simple way to do it.
Offline
#2 2006-10-17 17:12:40
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: pagetop() & admin plugins
The dilemma, of course, is that by the time your plugin has done its processing/output, the pagetop has already loaded, making it impossible to use a callback or global variable. But if, for instance, the message’s container were ID’d, it would be possible to use javascript to insert a confirmation notice onload. Am I overthinking this?
Offline
#3 2007-01-02 18:36:52
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: pagetop() & admin plugins
Are you still needing help with this, or have you figured it out?
Offline
#4 2007-01-02 18:50:31
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: pagetop() & admin plugins
I think this had to do with my ajw_admin_workflow plugin. I ended up working around it, not using pagetop() and adding a div at the top of #article-main for confirmation or error notices.
Offline
Pages: 1