Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Admin Side Plug-ins
Out of need, I am taking zem’s admin side plug-in mod to the next level. I am hosting an already modded version of textpattern (1.0rc2 rev61). This will spare others from having to actually apply the mod themselves.
I also created the ReBlog plug-in that uses this mod. This plug-in can serve as an example of how to write a plug-in for the admin interface.
Last edited by Manfre (2005-01-06 18:23:48)
Offline
#2 2005-01-07 00:41:49
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Admin Side Plug-ins
Manfre,
I have an updated version of the patch that includes some minor improvements. Will send it to you shortly.
Alex
Offline
Re: Admin Side Plug-ins
I look forward to the improved version. I’ve been poking around, trying to get a broader view of what abilities would need to be granted to plug-ins. Two of the big ones are shifting the load_plugins call down so that is just above the pre callback_event(). This would allow the plug-in to know more in the global scope, like language and have access to $textarray. This isn’t necessary, but a work around of having an init method in the plugin that is called with the event would serve a similar purpose.
The other thing that might be useful is the ability to have a plug-in prevent the loading of the built in pages, by signalling that it has handled the request and no other plug-ins should be called. I things would be more modular and customizable if some one could load up a new plug-in that replaces the “logs” tab with one that shows a different view of things.
Offline
#4 2005-01-07 13:06:48
- apo
- Member
- From: Germany
- Registered: 2004-10-27
- Posts: 53
Re: Admin Side Plug-ins
whoot, nice to see it goes its way :-)
thx for all this work to you both
Offline
Re: Admin Side Plug-ins
My site was down for a large portion of today due to password problems. It’s back online now.
Note to self. Remember to strip config.php settings from published files. :)
Offline
#6 2005-01-08 10:39:25
- Chris
- Member
- Registered: 2004-02-26
- Posts: 22
Re: Admin Side Plug-ins
> Manfre wrote:
> My site was down for a large portion of today due to password problems. It’s back online now.
Note to self. Remember to strip config.php settings from published files. :)
he he!
Offline
Re: Admin Side Plug-ins
What can I say? We all are prone to doing the dumbest things.
Offline
Pages: 1