Hi,
You can check modules/Contacts/Menu.php first.
After that goto custom/Extension/modules/Contacts/Ext/Menus/Menu.php. Create the file if it doesn’t exist.
In this file:
unset($module_menu);
This will clear all your menu items.
Now you can add the items in $module_menu from the original file or maybe add some custom items.
If your scenario is to not create any record by clicking Create button then follow the step.
Copy modules//controller.php into custom/modules//controller.php
Add these lines inside the function action_editview. (If this function is not available then create the function.)
$_REQUEST // get all contains all request variable and value
if (array_key_exists(“record”,$_REQUEST)) // Check whether the record key is available in the request. For new records the key is not present
{
$this->view = ‘edit’; //If the record key exists then record can be edited
}
else
{
$this->view = ‘noacesss’; // if the record key is not available that means u cannot create a new record AND it displays a blank page.
}
Sorry to bump old thread but I’m trying to do this for Documents modules, which seems to have no view.list.php file, do you know how I can achieve this for Documents module?