Finding widgets, finding tags

These are a couple of kind of related search questions that come up frequently for me and I’m wondering if they come up for other folks.

  1. Searching for widgets. I want to locate the pages in a which a certain widget is used. The only way I know to do this is to use grep in the shell.

  2. Searching for tags. I want to locate a tag in Toolbox → Tags, but I don’t know which group owns the tag. Tags aren’t returned in the backend search, so then I guess which groups might own it and switch to each group and check. I’m tempted to query the database directly but that’s always a little onerous so I just go hunting in the backend.

If you ever need to do these searches, what are your methods?

Thanks,
Ed

#1 - The All Widgets page, /livewhale/?widgets_all, should help with this. It lists all saved widgets and which pages they are used on.

#2 - I’d probably look in the database.

1 Like

Wow - I’m glad I asked! Thanks, Jon.

I actually added some backend modifications to that All Widgets page a few years ago. I was doing a lot of widget cleanup, and that page was very helpful, but my additions made it even more useful.

  • I added search filters to the top.
  • I added a count under the filters (that updates as it is filtered).
  • I added a link around the widget ID in each row, to make it easy to get to that widget from this page.
1 Like

Yeah, that is very nice.