In the blog: Phone dance

A dropdown for cats

n: smd_browse_by | v: 0.10 | d: 276 | f: /

Plugin documentation follows this short message from our sponsor ;-)

If you like my code and find it useful, feel free to show your appreciation with something from my UK Amazon wish list (or US) or donate to the Stef Dawson community coding pot by following the Donate button below to PayPal. Thanks!

Plugin list buttonPlugin download buttonCompressed plugin download buttonBeta plugin download button

smd_browse_by

Browse your articles/images/files/links via a quick dropdown menu of category (or in the case of articles: section as well). Just install, activate, done.

Author / credits

Written by Stef Dawson. Original plugin by Steve Lam.

Installation / uninstallation

Requires TXP 4.4.1+

Download the plugin from either textpattern.org, or the software page, paste the code into the TXP Admin->Plugins pane, install and enable the plugin.

To uninstall the plugin, delete from the Admin->Plugins page.

Visit the forum thread for more info or to report on the success or otherwise of the plugin.

Configuration

By default the select lists submit automatically when the entry is changed. If you wish to add a ‘Go’ button next to the lists, set a hidden preference (the smd_prefalizer plugin can help here) with the following parameters:

  • Name: smd_browse_by_go_button
  • Value:
    • 0 (auto-submit)
    • 1 (Go button)
  • Visibility: Hidden
  • Event: smd_browse
  • User: your login name

Changelog

  • 31 Aug 2011 | 0.10 | Initial release

Source code

If you’d rather spend time with the bytes, you’ll need to step into the view source page.

Legacy software

If, for some inexplicable reason, you need a prior version of a plugin, it can probably be found on the plugin archive page.

Experimental software

If you’re feeling brave, or fancy going bareback, you can test out some of my beta code. It can be found on the plugin beta page.

Stef is quite disgusted by his own tongue

Stef is quite disgusted by his own tongue