tips icon image

EE Insider Tips
Sponsored by EE Screencasts

ExpressionEngine mini-howtos created by the EE Insider community.

Save common entry filters as tabs

User's avatar
  • Posted by Brandon Kelly
  • September 18, 2009
  • 7 people have found this tip helpful.

Sure, there’s Elwin’s wonderful Edit Menu extension, which pre-filters your entry list by weblog. But what if you find yourself routinely filtering the list by Category, Status, or anything else? Here’s what: you create a new tab for that filter.

Simply clicking the “New Tab” link won’t do the trick though, since filters are submitted as POST data, and thus not reflected in the URL. So we’re going to have to put in a little effort.

Go to your Edit tab, and then type this URL into your address bar (but don’t hit Return):

http://example.com/system/index.php?C=myaccount&M=tab_manager&link=C--edit/M--view_entries/ 

Replace “http://example.com/system” with the URL to your site’s system folder.

Now, open your Web Inspector. For each filter you’d like to be pre-populated, inspect its form element, and add the following to your URL:

input_name--input_value

So, for example, if I wanted my new tab to only show Open entries in alphabetic order, my URL would look like this:

http://example.com/system/index.php?C=myaccount&M=tab_manager&link=C--edit/M--view_entries/status--open/order--alpha/ 

Once you’ve finished specifying your filters, go ahead and bang that Return key. You’ll be brought to the familiar Add Tab page. Name your tab, and save it.

Enjoy!
-Brandon

Jeff Claeson13:34 on 09.18.2009

Simple and super helpful. Good tip.

Add Your Comment?

You must have an EE Insider account to post comments on Insider Tips. It's fast, easy and hassle-free.

Sign up now (or login).

Search EE Insider Tips
Sponsored By