Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-11-26 01:26:53

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#2 2004-11-26 10:24:15

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: rsx_plugins_table, rsx_plugins_list

cool, i think will use this soon when i rebuild my about page :)


Johan Nilsson

Offline

#3 2004-11-26 12:34:48

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#4 2004-11-26 12:35:45

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#5 2004-11-26 15:09:36

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: rsx_plugins_table, rsx_plugins_list

:) thanks Ramanan


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#6 2005-01-04 05:20:26

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#7 2005-01-04 06:10:00

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

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

#8 2005-01-04 14:03:43

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#9 2005-01-04 14:38:39

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

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

#10 2005-01-04 22:58:15

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: rsx_plugins_table, rsx_plugins_list

Ah, that would work too. Nevertheless the link should work now.

Offline

Board footer

Powered by FluxBB