Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#41 2008-06-18 11:34:26
- geoff777
- Plugin Author
- From: Benarrabá Andalucía Spain
- Registered: 2008-02-19
- Posts: 282
- Website
Re: smd_where_used: help keep your admin side tidy
Thanks for this Plugin
Any chance of a Match Case / Case insensitive toggle?
Geoff
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
#42 2008-06-18 14:00:50
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,996
- Website
Re: smd_where_used: help keep your admin side tidy
geoff777 wrote:
Any chance of a Match Case / Case insensitive toggle?
That depends on how the database is configured. If the columns we are searching are BINARY then I can do it easily. If not I might have to see if it’s possible to fake it. I’ll see what I can do.
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
#43 2008-06-18 15:58:56
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,236
Re: smd_where_used: help keep your admin side tidy
Updated the code to make a (possibly temporary) fix to the above.
Seems gone. No two-/three-way conflicts. And I’ve got plugins installed … :)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#44 2008-06-18 16:13:11
- mrdale
- Member
- From: Walla Walla
- Registered: 2004-11-19
- Posts: 2,212
- Website
Re: smd_where_used: help keep your admin side tidy
Took the day off yesterday from rattling plugin-dev cages and look what happens… mr.purple adds the feature I tried to ask for, but that my sixteen-word vocabulary would not allow me to describe (back in #4).
Viva la Orphans!
Last edited by mrdale (2008-06-18 16:14:29)
Offline
#45 2008-06-18 20:03:40
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,996
- Website
Re: smd_where_used: help keep your admin side tidy
@geoff777:
Your wish is my command. v0.18 | compressed
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
#46 2008-06-20 13:02:45
- geoff777
- Plugin Author
- From: Benarrabá Andalucía Spain
- Registered: 2008-02-19
- Posts: 282
- Website
Re: smd_where_used: help keep your admin side tidy
Brilliant Stef,
I use lower case for form names and Capitals for Pages & Sections so this is a big help.
Thanks
Geoff
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
#47 2008-06-20 13:38:48
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,236
Re: smd_where_used: help keep your admin side tidy
This is one of the “once you have it you find 1000 uses for it” things. Really glad you wrote it, Stef! Helps me keep my head above water ;)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#48 2008-06-20 13:49:43
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,996
- Website
Re: smd_where_used: help keep your admin side tidy
uli wrote:
Helps me keep my head above water ;)
Excellent.
It’s actually changed my workflow in a way I hadn’t anticipated. I now have my first Firefox tab with the ‘Where used’ tab inside it and whenever I’m editing a form and need to find another form or article I’ve referenced, I CTRL-1 back to the first tab, type the name, search and then middle-click the form/page/article to open it in a new tab for editing.
Surprised myself with how useful it is. Not bad for a little over a day’s work making 8 revisions!
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
#49 2008-06-20 16:01:56
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,236
Re: smd_where_used: help keep your admin side tidy
Replace the only incidence of
keywords
with
keywords,custom_1,custom_2,custom_3,custom_4,custom_5,custom_6,custom_7,custom_8,custom_9,custom_10,url_title
for custom field and url title search. (to be unelegantly ramped up further for glz_cf)
Would caption/alt support be possible, Stef?
Last edited by uli (2008-06-20 16:04:27)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#50 2008-06-20 16:17:01
- Bloke
- Developer
- From: Leeds, UK
- Registered: 2006-01-29
- Posts: 9,996
- Website
Re: smd_where_used: help keep your admin side tidy
uli wrote:
Would caption/alt support be possible, Stef?
Not directly as you’ve done with the custom fields there. It doesn’t check the txp_image table… yet.
The only thing with allowing all these options all the time is that the more places you add to the search, the more specific you have to be when searching so you don’t find things you don’t want. Otherwise you trade the ease of searching with having to wade thru stuff you didn’t want to find! That’s why I didn’t add custom fields in the plugin because they’re so generic.
However, I would like to enhance the plugin eventually so that you can choose where it looks instead of it being fixed in the code. But that would require a truckload more checkboxes/some jQuery magic or a prefs/setup button which is a lot more code than I have time for right now. It’s on the TODO list, if I can figure out how to do it cleanly.
Last edited by Bloke (2008-06-20 16:18:09)
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