Sugar 5.2.0i
IIS
PHP 5.*
MSSQL
Windows Server

A while ago i came across a post from Andopes Showing how to get the View Change log function to show up in Tasks. What it said to do was to create a file called vardefs.ext.php. and to put the following code into it. The file should be in \Tasks\Ext\Vardefs
PHP Code:
<?php 

$dictionary
['Task']['audited'] = true;
$dictionary['Task']['fields']['status']['audited'] = true;
//$dictionary['Task']['fields']['<field_2>']['audited'] = true;
//$dictionary['Task']['fields']['<field_3>']['audited'] = true;
 
?>
It worked perfectly ,

I would like to do the same thing for Project Tasks, but i know i have the code wrong. What i have in the file for project tasks

I created the same file and put it in the same respective location as i did for Tasks.

The code i think should look something like this

PHP Code:
<?php
$dictionary
['ProjectTask']['audited'] = true;
//$dictionary['ProjectTask']['fields']['status']['audited'] = true;
//$dictionary['Task']['fields']['<field_2>']['audited'] = true;
//$dictionary['Task']['fields']['<field_3>']['audited'] = true;
?>
But its not working.
By the way, after creating file a repair and rebuild needs to be run

any help or direction , welcome

Thank you