We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension: MD Show Expired - Show and filter expired entries on the EE control panel edit page

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

There wasn’t an easy way to show, or filter, your expired entries in EE (that I was aware of!) until now. This extension allows you to easily see what entries are expired - or set to expire in the future. A brand new dropdown is inserted in the search area of the Edit page so you can also filter by entries that are expired. Very handy if you use EE’s built in entry expiration!

  • MSM Aware
  • Works with LG Addon Updater to let you know if the version you’re using is outdated

You can download MD Show Expired here.

I should note that I was testing the Expiration search dropdown with Edit Tab AJAX (which I love) and it was working fine.

       
timkelty's avatar
timkelty
177 posts
16 years ago
timkelty's avatar timkelty

The man, The legend, The extension. This is awesome.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I can already see a couple ways I can improve this. I should probably:

  • make this a little more language independent
  • allow user to choose a couple display options (use icon instead of text, etc)
  • allow user to format date

Any suggestions are welcome, though!

       
gridonic's avatar
gridonic
231 posts
16 years ago
gridonic's avatar gridonic

Looks nice Ryan, although we don’t use the “expired” feature a lot, definitely a welcome addition to the entry listings.

       
angstmann's avatar
angstmann
225 posts
16 years ago
angstmann's avatar angstmann

This is crazy! I was just wondering whether I could do this with built-in functionality just this morning!! Will be extremely useful for the Events listing on my current site.

Excellent stuff Ryan, cheers!

Forgive my ignorance about Extensions and how they work or hook in to EE, but would there be a way for this to be used on a per weblog basis? Say, for example, if I only wanted to use it on my Events weblog where it is most relevant and hence only show up in the Edit window when I view entries in that particular weblog?

       
Gabriel's avatar
Gabriel
130 posts
16 years ago
Gabriel's avatar Gabriel

@mdesign: It’s very useful extension!

Are you planing create settings for determine weblog(s) to show expire info? Something like on the screenshot?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

angstmann & Gabriel: Re: doing this on a weblog by weblog basis. I need to make a column on the edit page in any case. Are you requesting that even if a certain weblog has expired entries, if it’s not in the weblog list - don’t show anything in the expired column?

Or are you saying that this should show up only if entries from certain weblogs are being shown? I’m not sure that’s possible - the column, as I understand it, always needs to be there, whether or not there is nothing in the table cell.

I’m pretty sure this could be set up to work on a per-weblog basis, but I’m not sure what the desired output would be on the Edit screen.

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
16 years ago
Nathan Pitman's avatar Nathan Pitman

Just a heads up to let you know that this doesn’t seem to work without the Edit Tab AJAX extension, without it the ‘Filter’ tool at the top of the Edit page vanishes… other than that, super! I don’t think I ever rolled a site without Edit Tab AJAX anyway! 😊

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

What exactly isn’t working? I just disabled Edit Tab AJAX and sorting for Show Expired still worked for me (obviously you have to manually click the Search Button). Are you saying that you can’t filter because you can’t see the dropdown at all?

Could there be a different culprit that IS enabled that is making the Show Expired dropdown disappear?

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
16 years ago
Nathan Pitman's avatar Nathan Pitman

I did try disabling all the extensions and re-enabling them (See attached).

As you see the whole ‘filter’ panel vanishes. Very odd. I’m running the very latest build of EE 1.6.4 (20080829)…

Have you had any similar reports???

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Oops meant to post here the other day about this one. I had the exact same thing happen the other day too. I too saw that this happened when I disable the Edit Ajax extension. Not too sure why it would do that though. I installed this on a localhost install to test it out.

I probably wouldn’t disable these two extensions though as they are both so good but just to say that I did experience this too.

Best wishes,

Mark

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
angstmann & Gabriel: Re: doing this on a weblog by weblog basis. I need to make a column on the edit page in any case. Are you requesting that even if a certain weblog has expired entries, if it’s not in the weblog list - don’t show anything in the expired column? Or are you saying that this should show up only if entries from certain weblogs are being shown? I’m not sure that’s possible - the column, as I understand it, always needs to be there, whether or not there is nothing in the table cell. I’m pretty sure this could be set up to work on a per-weblog basis, but I’m not sure what the desired output would be on the Edit screen.

Hey Ryan,

You might want to check out LG Image Preview which was requested and sponsored by Hambo. It has an option to choose which weblogs show the image in the edit table.

Your right about the column always needing to be there.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

Nathan & Mark: What the devil is going on there, I don’t know. Hmm. Could one of you send me the rendered source code of the page when it is doing that, so I can see exactly what is happening (or not being output)

Leevi: How in the world did you guess which extension I was going to open up to see how selecting multiple weblogs works? 😉

Add: Nathan, I’m using the same version and build as you, and I’m disabling an re-enabling the Edit Tab AJAX extension and I cannot replicate this - I always get the box with the search dropdowns in it. THough I just noticed you’re using a newer version of Edit Tab AJAX than I am. I’m using 1.2.1 - looks like you’re using 1.2.2.

       
454 Creative's avatar
454 Creative
23 posts
15 years ago
454 Creative's avatar 454 Creative

I’ve also got the missing filter panel.

I’m using these extensions: Structure 2 LG Addon Updater Jquery for the Control Panel

Except mine did not come back when I disabled jQuery for the Control Panel, but it did come back when I disabled MD Show Expired.

       
Fredrik Danielsson's avatar
Fredrik Danielsson
6 posts
15 years ago
Fredrik Danielsson's avatar Fredrik Danielsson

Mine is missing too. It returned after disabeling MD Show expired

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.