who changed a field last?

Hello

   what i'm trying to achieve here is some sort of tracking/audit of a checkbox and display that on the campaign layouts. To be more specific i would like to know right next to the checkbox who was the one that enabled/disabled that checkbox. This value should only change if the checkbox was 'ticked' if the campaign changed it shouldn't change the modified by on the checkbox

Modified by next to checkbox

   When i created the field i checked the 'audit' option, does that keep track of those events? can we pull it from there? tried the documentation but couldn't find much about audit fields.

Thank you

Sergio

Parents Reply
  • As far I know you shouldn't need to create a new file in order to implement such attribute.

    Once it is not working as expected you can force it to be readonly on editview. As Campaigns module is still under MVC model so you can just add the following attribute into field defs at editviewdefs.php:

    'type' => 'readonly',

    Remember to run Quick Repair and Rebuild after saving this change.

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children