Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
rsx_plugins_table, rsx_plugins_list
It has been quite some time since I’ve written a plugin for textpattern. This plugin is quite simple; it will produce a list of the plugins you have installed in textpattern. To use the plugin, simply place the tag <txp:rsx_plugins_table />
in a form or page template. The plugin will produce a table, which you can style with CSS if you feel so inclined. I’m using this plugin right now on my about page.
Download the plugin: rsx_plugins_table.txt.
Update: I’ve added a new plugin that generates a definition list of your installed plugins instead of a table. This may be good for people who were trying to display the table in a very narrow space. I’m using this plugin right now on my about page. To use the plugin, simply place the tag <txp:rsx_plugins_list />
in a form or page template.
Download the plugin: rsx_plugins_list.txt
Update: You can now choose not to display inactive plugins by setting show_inactive
to 0, as in <txp:rsx_plugin_list show_inactive="0" />
. The default value for the parameter is 1.
Update Apr 6th 2008: You can now decide not to show the description field in the list or table by using the show_description
parameter.
Update Jul 24th 2009: The source code for both plugins is up on GitHub: rsx_plugins_list. and rsx_plugins_table. People can do what they like with the code, offer up improvements, etc. I’m going to try and put all my old plugins up online in this way.
Last edited by ramanan (2009-07-24 18:56:53)
Offline
Re: rsx_plugins_table, rsx_plugins_list
cool, i think will use this soon when i rebuild my about page :)
Johan Nilsson
Offline
Re: rsx_plugins_table, rsx_plugins_list
Great. I made it for Alicson because she wanted something like this for the help site she is making. It seems useful enough to release to the public.
Offline
Re: rsx_plugins_table, rsx_plugins_list
And looking at my list of plugins, I should upgrade to the new and improved word count plugin by Kelp!
Offline
Re: rsx_plugins_table, rsx_plugins_list
:) thanks Ramanan
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: rsx_plugins_table, rsx_plugins_list
I’ve added a new tag that makes a definition list instead of a table. See my edit above.
Offline
Re: rsx_plugins_table, rsx_plugins_list
ramanan – you threw a curve and forgot to switch .php yo .txt on the list plugin, thank god textdrive is so cool and shoots off a 300 multiple choice error! Might want to fix that, also.
Offline
Re: rsx_plugins_table, rsx_plugins_list
Doh. I uploaded the wrong file. Thanks. I’ll update the link when I get home tonight.
Offline
Re: rsx_plugins_table, rsx_plugins_list
You could still get the contents out, you just had to view the source (for some reason the php wasn’t being executed). I should have mentioned that also. But it’s a nice little plugin!
Offline
Re: rsx_plugins_table, rsx_plugins_list
Ah, that would work too. Nevertheless the link should work now.
Offline
Re: rsx_plugins_table, rsx_plugins_list
I like the idea of this plugin, but would it be possible to make it so we can edit the descriptions to our own liking, and not show plugins that are “inactive”?
Offline
Re: rsx_plugins_table, rsx_plugins_list
Not showing plugins that are inactive is a change I can make, sure. I’m not sure how you would show edited descriptions. How would you edit the desciption? Where would you store it? What sort of tag do you invision?
Offline