Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2008-06-18 01:00:34
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: smd_where_used: help keep your admin side tidy
New versions delivered every 5 hours! Woooo!
Where in the world are you treated more expeditious?
May I contribute to one further update? I think it’s the article title that should be wrapped in a-tags, not only the ID: a) easier to strike b) stronger signalling c) consistency
Sorry! I didn’t want to be a pest! =D Hazard.
Last edited by uli (2008-06-18 01:03:25)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: smd_where_used: help keep your admin side tidy
uli wrote:
I think it’s the article title that should be wrapped in a-tags, not only the ID: a) easier to strike b) stronger signalling c) consistency
I agree, but I couldn’t make it do it without some seriously ugly hacking so I left it on ID only for the time being. It’s on the list of things to work out. But not tonight :-)
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
Online
#39 2008-06-18 01:29:57
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: smd_where_used: help keep your admin side tidy
Thanks, Stef, very complaisant! :)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: smd_where_used: help keep your admin side tidy
Easier than I thought. Amazing how much difference it makes not falling asleep in front of the keyboard.
v0.17 | compressed fixes the Article hyperlinks so they encompass the title as well as ID. A bigger target.
EDIT: There is a small unexpected ‘feature’ with this version. If you repeatedly click ‘Search’ in orphan mode it toggles the admin plugins on and off. Buggered if I can fix it right now (it’s to do with the way I’ve laid the form out) so I’ll give it some thought.
EDIT2: Updated the code to make a (possibly temporary) fix to the above EDIT. Removed the Admin/Client side toggle button since it does the same as the search button. Now, clicking the search button a 2nd time will toggle between Admin [ A+C ] and Client [ C ] plugins. If you want to re-display the same list without the toggle feature, refresh the browser page instead. If you’ve already downloaded v0.17, grab it again. Sorry for the hassle.
Last edited by Bloke (2008-06-18 19:13:30)
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
Online
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
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
Online
#43 2008-06-18 15:58:56
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
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
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
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
Online
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,306
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
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
Online