Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-09-21 23:03:59

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

soo_plugin_display: show information about installed plugins

soo_plugin_display

Similar to some other plugins that show plugin info, but more comprehensive, allowing you to format plugin fields as you wish with a form or container, and offering display of help text & source code, even specific chunks of source code.

Compatible with soo_plugin_pref for preference management.

Information, help text, source code preview, and download

direct download

Version 0.2.0 released 2010/07/11

  • New highlight attribute for soo_plugin_code, allows you to disable the standard syntax highlighting and output raw (but HTML-escaped) code.
  • Bug fix: soo_plugin_code now handles multi-line comments correctly.

Note: If you are upgrading from an earlier version, note that soo_plugin_code has some other format changes (e.g., highlighted output is now wrapped in a pre element), so some CSS changes might be needed.

Version 0.1.4 released 2010/07/04

  • soo_plugin_help now has h_plus attribute, for transposing HTML header levels

Version 0.1.3 released 2009/09/28

  • soo_plugin_code now does intelligent tab to space conversion to maintain tab stops

Version 0.1.2 released 2009/09/26

New attribute for soo_plugin_help:

  • section_id allows you to select a portion of the help text by HTML id

Version 0.1.1 released 2009/09/22

Fixed bug when in list mode (bad query in some cases)

Version 0.1 released 2009/09/21

  • Display most fields from the plugins table, also code size.
  • Can automatically link author or plugin name to plugin author URI.
  • Code highlighting with named styles, line numbering
  • Can restrict code display to named functions/classes
  • Show single named plugin or list, filter by status and/or author

Last edited by jsoo (2010-07-11 19:20:42)


Code is topiary

Offline

#2 2009-09-22 18:33:17

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Version 0.1.1 released

Fixed bug when in list mode (bad query in some cases)


Code is topiary

Offline

#3 2009-09-26 16:53:35

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Version 0.1.2 released

New section_id attribute for soo_plugin_help tag allows you to restrict output to the named section. Output begins at the HTML header element with an id attribute matching section_id, and continues till the next HTML header of the same or lower level.


Code is topiary

Offline

#4 2009-09-26 17:13:10

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: soo_plugin_display: show information about installed plugins

Your updates are so frequent that it would be useful a soo_plugininstaller… ;)

Offline

#5 2009-09-26 17:48:49

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Just on one of those kicks lately. I did follow the thread you started here and agree it would be great to have a standard way to check for and install plugin updates. I haven’t had time to look through Amit’s plugins, or to determine whether RSS is a good solution. It has to be easy on both ends — for the plugin developers as well as the end users.


Code is topiary

Offline

#6 2009-09-28 20:07:45

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Version 0.1.3 released.

soo_plugin_code now does intelligent tab to space conversion to maintain tab stops (as opposed to highlight_string()’s stupid tab to space conversion).


Code is topiary

Offline

#7 2010-07-04 17:33:53

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Version 0.1.4 released.

soo_plugin_help now has h_plus attribute, for transposing HTML header levels. This can be helpful when breaking a long help text into several web pages, in conjuction with section_id. For example, h_plus="-2" will transpose all h6 elements to h4, all h5 elements to h3, etc.


Code is topiary

Offline

#8 2010-07-11 19:23:19

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_plugin_display: show information about installed plugins

Version 0.2.0 released.

  • New highlight attribute for soo_plugin_code, allows you to disable the standard syntax highlighting and output raw (but HTML-escaped) code.
  • Bug fix: soo_plugin_code now handles multi-line comments correctly.

Disabling code highlighting allows you to use javascript-based highlighting, such as the excellent SyntaxHighlighter, instead.

Note: If you are upgrading from an earlier version, note that soo_plugin_code has some other format changes (e.g., highlighted output is now wrapped in a pre element), so some CSS changes might be needed.


Code is topiary

Offline

Board footer

Powered by FluxBB