We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

active and used add-ons

How Do I?

onno@itmaze.com.au's avatar
[email protected]
7 posts
about 9 years ago
onno@itmaze.com.au's avatar [email protected]

How do I determine which add-ons are active and used?

I have a third-party directory with 100+ add-ons. On a local copy of the site, as a brute force method, I renamed the third-party directory, created an empty third-party directory and reloaded the site.

Every time it died with an error, I looked for the add-on that was missing and made a symlink to the appropriate add-on. Without going through the entire site, one page at a time, how do I determine if the list I have is in fact complete?

There is no documentation, so I do not know if an add-on is simply loaded, but not being used. How do I reduce this list even further?

Ultimately, this is all part of an upgrade from 2.9.2 to 3.3.3. I’m trying to reduce the number of add-ons that I’ll need to upgrade or fix.

Any suggestions?

       
Derek Jones's avatar
Derek Jones
7,561 posts
about 9 years ago
Derek Jones's avatar Derek Jones
I have a third-party directory with 100+ add-ons.

Wowzers!

So I would examine three tables, which should get you 90%+ of the way there. exp_modules, exp_extensions, and exp_actions. The actions table shouldn’t have entries for things that aren’t also in the modules table, but with over 100, I wouldn’t take any chances.

In v2, plugins don’t have to be installed, so to check whether or not they are in use, look for three things, though only #1 is highly common, and is the easiest to address:

  1. exp:plugin_name in your templates. You can use a project-wide search in your text editor if you save templates as files, or you can use the search in the Template Manager if you do not.
  2. exp_channel_fields, the field_fmt column, in case you have plugins in use that are being used as custom field formatters.
  3. exp_field_formatting to see if you had any fields that allowed a plugin to be used as a formatting override on the Publish page, as an option to content authors. If any plugins are in this table, you’ll want to check that field ID’s _fmt column in exp_channel_data.
       
onno@itmaze.com.au's avatar
[email protected]
7 posts
8 years ago
onno@itmaze.com.au's avatar [email protected]

The exp:plugin_name search added a few missing ones but so far I’ve whittled the list down to 62.

Is it normal to see 743 fields (3228 rows) in exp_channel_data?

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones
Is it normal to see 743 fields (3228 rows) in exp_channel_data?

Every site’s content needs differ, but that does seem rather high, roughly 370 unique custom fields (on average there are two columns for every custom field in that table).

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.