Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:modifications:add-listview-to-modcomments [2015/01/09 11:51] swarnat created |
en:modifications:add-listview-to-modcomments [2017/01/02 16:22] (current) swarnat |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Commants ListView ====== | + | ====== Comments ListView ====== |
+ | |||
+ | ** Only for VtigerCRM 6.1 ** | ||
There is no default ListView for the ModComments Module. | There is no default ListView for the ModComments Module. | ||
To fix this you need only do three small modifications. | To fix this you need only do three 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 ==== | ==== Open: /includes/main/WebUI.php ==== | ||
Line 20: | Line 19: | ||
</code> | </code> | ||
+ | ==== Open: /modules/Vtiger/models/Menu.php ==== | ||
+ | |||
+ | == Search == | ||
+ | <code php> | ||
+ | $restrictedModulesList = array('Emails', 'ProjectMilestone', 'ProjectTask', 'ModComments', 'ExtensionStore', 'ExtensionStorePro', | ||
+ | </code> | ||
+ | |||
+ | == Remove part from the line == | ||
+ | <code php> | ||
+ | 'ModComments', | ||
+ | </code> | ||
==== Open: /modules/ModComments/models/ListView.php ==== | ==== Open: /modules/ModComments/models/ListView.php ==== | ||