Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // paste this code in newly created file
- $admin_option_defs = array();
- $admin_option_defs['Administration']['custom_admin_panel'] = array(
- //Available icons are located in ./themes/default/images
- 'Administration',
- //Link name label
- 'LBL_LINK_NAME',
- //Link description label
- 'LBL_LINK_DESCRIPTION',
- //Link URL - For Sidecar modules
- 'javascript:parent.SUGAR.App.router.navigate("Contacts", {trigger: true});',
- );
- $admin_group_header[] = array(
- //Section header label
- 'LBL_CUSTOM_SECTION_HEADER',
- //$other_text parameter for get_form_header()
- '',
- //$show_help parameter for get_form_header()
- false,
- //Section links
- $admin_option_defs,
- //Section description label
- 'LBL_CUSTOM_SECTION_DESCRIPTION'
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement