Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-16 06:38:02

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

wet_quickopen: Open recent (and not so recent) articles quickly

wet_quickopen prepends a search term input on top of the “Recent Articles” list at the article edit screen.

The “Recent Articles” list is filtered by matching the current search term against all articles’ titles and bodies in descending posting date order. All you have to do is type and wait for a moment until the “Recent Articles” list refreshes.

Download wet_quickopen and its helper plugin wet_peex.

Having issues? Tell me here.

Last edited by wet (2025-12-27 15:15:05)

Offline

#2 2009-10-16 12:09:48

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

This is going to save me many a round trip through the Articles tab — thanks.


Code is topiary

Offline

#3 2009-10-16 12:47:17

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Awesome, thanks! :D

Offline

#4 2009-10-16 12:55:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,440
Website GitHub

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Simple. Effective. Genius.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#5 2009-10-16 13:57:09

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Brilliant!

Offline

#6 2009-10-16 16:50:34

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: wet_quickopen: Open recent (and not so recent) articles quickly

… and perfect ;)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#7 2009-10-16 19:54:07

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Thanks, Robert. Even better than what I thought would help there: more recent articles.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2009-10-17 07:51:54

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Sorry … I install it (the 2 files, and activate) on 2 sites and … nothing …

Offline

#9 2009-10-17 08:27:42

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: wet_quickopen: Open recent (and not so recent) articles quickly

The plugin requires Txp 4.2.0 at least.

Offline

#10 2009-10-17 08:42:56

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: wet_quickopen: Open recent (and not so recent) articles quickly

My 2 site run the Txp 4.2.0 …

Offline

#11 2009-10-17 12:26:42

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Might be a browser issue. Which one do you use?

Also, you might perform two diagnostic steps to aid tracking down the reason why wet_quickopen does not work for you:

1. When you visit http://yoursite.com/textpattern/index.php?wet_rsrc=quickopen_js&v=0.1 you should see a page which starts like that:

 /*=*=*=* script goes here */
/**
 * wet_quickopen: Open recent (and not so recent) articles quickly.
 * ...

2. A visit to http://yoursite.com/textpattern/?wet_peex=article&limit=10&offset=0&dir=desc&sort=lastmod should render a XML response like so:

<?xml version="1.0" encoding="utf-8" ?>
<textpattern>
<articles count='42' offset='0' limit='10'>
[...]

Offline

#12 2009-10-17 13:31:24

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Robert,
I use Firefox 3.5.3

I try the diagnostic 1 and 2 :

On site A : the urls go to the login then the admin (contents).
On site B : the urls give me the code above as expected.

I try on Chrome and IE : Site A : don’t work, Site B : I see the new filter (recent files) and it work.

If you want it, I could give you access on both site.

Offline

#13 2009-10-30 12:00:13

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Great stuff. This will be a default plugin for me in future. There’s just one strange thing I ran into… I can’t run it from my plugins folder.

I get Fatal error: Unable to include required plugin "wet_peex" in [...]/textpattern/lib/txplib_misc.php on line 498 in the bottom of the Write tab, and the search doesn’t work.

But wet_peek v0.4 is there – I’m using successfully it with wet_quicklink_v0.5 aready. Just to prove this, if I activate it in the plugins table, the Write page spits at me

Fatal error: Cannot redeclare wet_peex() (previously declared in [...]/textpattern/plugins/active/wet_peex_v0.4.php:66) in [...]/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 141

…until I remove wet_peex_v0.4.php from my plugins folder.

Not a show-stopper, but I thought it might be of interest.

Thanks again.

Offline

#14 2009-10-30 12:06:26

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

Re: wet_quickopen: Open recent (and not so recent) articles quickly

You can try to remove this line from wet_quickopen:

	require_plugin('wet_peex'); // won't help for loading wet_peex on time, but point out the lack of it to unwary users.

Offline

#15 2009-10-30 12:14:59

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: wet_quickopen: Open recent (and not so recent) articles quickly

Yep, that works. Thank you.

Offline

Board footer

Powered by FluxBB