Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 3 Module Framework : Shortcuts

Shortcuts
Menu shortcuts for modules are easy to implement.. There is a ./modules/MODULE_NAME/Menu.php in all applicable modules. Shorcuts are generated via:
$module_menu[]=Array("URLLINK", "SHORTCUTTEXT", "IMAGEFILENAME");
IMAGEFILENAME - the filename in the themes image directory
Note: A .gif extension is required for the image file and assumed in the definition.
Example from ./modules/Cases/Menu.php
$module_menu[] = Array("index.php?module=Cases&action=index&return_module=Cases&return_action=DetailView", $mod_strings['LNK_CASE_LIST'],"Cases")

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License