You are not logged in.
Pages: 1
This one is aimed at plugin authors. If you want to provide preference settings for your plugin, but would rather avoid the chore of coding the plugin_prefs and plugin_lifecycle callbacks, soo_plugin_pref provides a simple alternative.
For background, see this thread.
Version 0.2.2 (9/28/2009)
Version 0.2.1 (9/26/2009)
Version 0.2 (9/17/2009)
This version uses a different identifying scheme for preferences and hence is not compatible with the previous version. The plugin name is no longer stored in the event column, so there is no longer any restriction on plugin name length.
Known compatible plugins:
soo_image
soo_multidoc
soo_required_files
soo_plugin_display
Last edited by jsoo (2009-09-28 19:58:24)
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
More background:
Quoting from the plugin help:
This is currently in the nature of an alpha release. As of version 0.1 there are no publicly-available plugins that are compatible with it, not even my own plugins that have preference settings. I release it now in hopes of furthering discussion of what direction, if any, core Txp will take toward handling plugin preferences; more immediately, to find out if other plugin authors are interested in using it and have any modifications or additional features to suggest.
So:
Are there plans for something like this in core Txp? I mean any kind of generalized system for handling plugin preferences.
Any other plugin authors think this would be useful to them? If so, any suggestions, requests, or comments?
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
And here is an example plugin you can use to quickly check out the admin interface, and how plugin preferences are automatically installed or deleted as the plugin is installed or deleted:
Edit: current version of the example plugin
Note: Install and activate soo_plugin_pref first, then install this one.
Last edited by jsoo (2009-09-29 22:48:38)
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
Very cool idea!
Just a little snag: soo_plugin_prefs requires soo_thumb_atts.
Got a “fatal error” on soo_useless’ pref page when soo_plugin_prefs tried to call soo_thumb_atts_gTxt().
Last edited by jelle (2009-09-06 18:51:03)
Offline
Version 0.2 just released.
This version uses a different identifying scheme for preferences and hence is not compatible with the previous version. The plugin name is no longer stored in the event column, so there is no longer any restriction on plugin name length. The configuration instructions have been updated to reflect this and to include an alternate configuration if your plugin’s preferences are optional.
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
Nothing to say except than the support of J Soo to TXP community with plugins, docs and
responsiveness to questions is quite impressive.
Offline
Version 0.2.1 released. Installation sequence no longer matters — you can install soo_plugin_pref before or after any of the other plugins that use it, and still get automatic preference installation. Easier for end users.
Also, preferences are now assigned a meaningful position value, so that the order you (the plugin author) declare your plugin’s defaults is the order they appear in the prefs admin.
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
Version 0.2.2 released. Minor bug fix: preference position re-indexing when a plugin is enabled.
Txp tags not doing what you expect? Learn to use a tag trace.
Offline
Pages: 1