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 four small modifications.

Search the row with name = “ModComments” in the database table vtiger_tab.
Set tabsequence to a value highen than 0. This is the position in the main menu.

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';
    }