Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2011-08-31 14:12:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: lam_browse_by (browse by category of articles/images/files in backend)

Alrighty, the unofficial first version is on my beta page.

Differences from lam_browse_by:

  • Works on 4.3.0+ only (4.4.1+ recommended)
  • Browse all four content types
  • Browse by widget is added above Search box
  • Can also browse by Section on Article List panel
  • Can optionally add a Go button instead of the auto-submitting select list (see plugin help for details)

Let me know if it works ok.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#32 2011-08-31 16:39:15

Teemu
Member
From: Shanghai
Registered: 2010-04-27
Posts: 60

Re: lam_browse_by (browse by category of articles/images/files in backend)

Thanks Stef!

Works for me.

One note:

Even though probably not very often the case, if there’s no categories, it will only display ‘or section’ and select field.

I’ve made couple of static sites that don’t use categories, so I changed this: 'by_sec' => 'or Section', to this: 'by_sec' => 'Browse by Section',

Offline

#33 2011-08-31 20:07:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: lam_browse_by (browse by category of articles/images/files in backend)

Teemu wrote:

Even though probably not very often the case, if there’s no categories, it will only display ‘or section’ and select field.

Ah yes, I noted that in the post that GugUser referred to above. Could get round it by cheating and putting the Section search first, then having ‘or by Category’ second :-) Will see if that’s easy to do, or use your method which is far simpler.

EDIT: I’ve created a dedicated support thread for the plugin, so we don’t annoy Steve by posting on his.

EDIT2: Your method is easier so we’ll go with that.

Last edited by Bloke (2011-08-31 20:59:33)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB