Skip to content

Add Custom Settings

mithra62 edited this page Mar 14, 2013 · 7 revisions

A useful feature of the ExpressionEngine Debug Toolbar (EEDT) is that you can integrate your Panel's, or custom extension's, settings into the EEDT settings mechanism. Doing this has a couple advantages:

Note: this tutorial assumes you're already familiar with EEDT extension development and have read Creating custom debug panels

  1. All settings are consolidated under one Settings Form (the EEDT one)
  2. Developers don't have to bother creating their own custom Settings Forms for their debug add-ons.
  3. Users have automatic access override config options for your add-ons once installed.

Doing this requires 2 hooks be used in order to, first, register your settings with the EEDT settings object and, second, to create the form elements for updating.

A good point of reference for this tutorial would be the Performance Alerts extension that comes bundled

Clone this wiki locally