You are not logged in.
Really simple admin-side plugin that searches your pages, forms and articles (body, exceprt, overrride_form) for mentions (or not) of something else.
Very useful if, like me, you’re on revision #4 of a site and you have about 14 sections, 35 plugins and 42 forms floating around from previous iterations and you’re scratching your head going “where the hell have I used this form?” or “can I delete this plugin?”
Just install, activate, go to ‘Extensions->Where used’, type and click. If what you typed exists in your design it’ll be listed with a hyperlink to the offending item so you can check it/edit it or simply delete it. When you’re done tidying up, delete the plugin.
Yes, the admin side does give warnings on some items now if they are in use, but it won’t check for plugins or if you have referred to forms from articles.
Note that if smd_where_used reports that something’s not used it’s probably safe to assume it isn’t. But backup first, just in case. I don’t particularly relish an angry mob on my doorstep complaining that the ‘hamper_trombone’ form played a pivotal role in someone’s site.
Download smd_where_used : Requires TXP 4.3.0+
All available versions and changes are listed here. Each entry indexes the relevant post(s) in the thread to learn about the features.
Last edited by Bloke (2010-11-05 09:44:40)
Sounds really really useful, will try it this evening.
OK, I realised it was actually useful to add override_form to the mix so I’ve put that in, and added section searching too so you can find if any sections are using a particular page/stylesheet.
Wow, another addition to “the chump’s” high-kicking cavalcade of plugins. The smd swiss army knife is about 12 feet wide these days. Excellent work, my prolific purple friend.
So you’d think I’d be content to use as directed, but no… mrdale wonders if there’d be a simple way to throw this plugin in reverse… and find pages, forms and articles that are NOT referenced anywhere in a site, so that a messy web-designer such as I might smite them, and wipe them of the face of my install.
This is me looking a gift horse in the mouth.
Last edited by mrdale (2008-06-16 16:33:03)
Crazy plugin idea:
smd_halt_and_catch_fire providing a single tag of the same name that can target either the visitor’s desktop/laptop or alternatively the hosting server.
Wow! Astonishing (whatever this means, I read it on a comic book…)! :)
I miserably add a request to this marvelous thing: I have some templates that are named in a progressive way: home, home_2006, home_new. If I search for ‘home’, it also catch all the derivatives. Can an option be added to search only for the string as a single word, or as a part of longer word?
If not, this still remain a superb, useful plugin. Thanks!
Last edited by Zanza (2008-06-16 16:19:27)
Crazy plugin idea:
smd_halt_and_catch_fireproviding a single tag of the same name that can target either the visitor’s desktop/laptop or alternatively the hosting server.
Um… that’s kind of tedious to type, how about smd_fubar?
Last edited by mrdale (2008-06-16 16:27:22)
Dam! Dam! Why can’t I code myself? Thanks, again and again! Thrills me! :)
Having said that – as shameful as it may be – I go along with Dale in his wish for reverting the effect. *blush*
Edit before submitting: What? You can code faster than I type?
Stef, is it possible to integrate this onto a dashboard (f.i. jmd_dashboard)?