Developer Console v1.04 and Grey Hidden Records v1.01 Released!

By Daryl - May 9, 2016

Hi all,

We've just released new version of the following plugins:

Developer Console v1.04
http://www.interactivetools.com/add-ons/developer-console/
- Fixed issue where console wouldn't work if admin script wasn't named admin.php
- Pressing "enter" will now execute the shell command
- Added "User Features" setting: If enabled, pressing ctrl + ` will open a new MySql Console tab

Grey Hidden Records v1.01
http://www.interactivetools.com/add-ons/grey-hidden-records/
- Added option to add specific fields with custom conditions for greying out records

Please feel free to post any questions/feedback.

Thanks,

Daryl Maximo
PHP Programmer - interactivetools.com

By Daryl - August 30, 2016

Hi Jayme,

The 'listRow_trStyle' filter passes the table name of the section to $tableName variable.
You can use that to check if the current table is _sc_orders, if not, return the tr style without any changes.
For example:

function grey_hidden_records_listRow_trStyle($trStyle, $tableName, $record) {
  if ($tableName != '_sc_orders') { return $trStyle; } // change nothing if this is not the orders table
  if (!@$record['hidden']) { return $trStyle; } // skip if record either doesn't have a hidden field or the hidden field isn't checked
  return "color: #CCC;";
}

Cheers,

Daryl Maximo
PHP Programmer - interactivetools.com

By In-House-Logic - August 31, 2016

Perfect. Thanks Daryl!