Basically, I have a bunch of chunks that I’m pretty sure I’m not using anymore, but I don’t want to f*** up something on the site in case it’s still being used.
Anyway I can do a general check for something like {{chunknamehere}}, without having to specify the table, or do I have to run the search command by picking the specific table (i.e., I would need to find out what modx_ tables refer to the stuff I need to search in, like chunks, snippets, and documents)?
You can search in multiple tables using phpMyAdmin. Just select the root of your database and enter your search query and selected tables. You’d probably want to look for chunk names in the site_content table, and possibly also in the site_templates and site_tmplvar_contentvalues tables.
Quote from: zi at Jan 01, 2009, 12:13 PM
Use DocFinder module. http://modxcms.com/Doc-Finder-Module-1962.html
Ooo. Much nicer method. Good tip, Zi!