This is an old revision of the document!


Commants ListView

Only for VtigerCRM 6.1

There is no default ListView for the ModComments Module.
To fix this you need only do three small modifications.

Open: /includes/main/WebUI.php

$notPermittedModules = array('ModComments','Integration' ,'DashBoard');
Replace with
$notPermittedModules = array('Integration' ,'DashBoard');

Open: /modules/Vtiger/models/Menu.php

Search
$restrictedModulesList = array('Emails', 'ProjectMilestone', 'ProjectTask', 'ModComments', 'ExtensionStore', 'ExtensionStorePro',
Remove part from the line
 'ModComments',

Open: /modules/ModComments/models/ListView.php

Search:
class ModComments_ListView_Model extends Vtiger_ListView_Model {
Insert after
    public function getName() {
        return 'ModComments';
    }