Results 1 to 5 of 5

Thread: remove tabs but keep subpanel with access rights

  1. #1
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default remove tabs but keep subpanel with access rights

    is it possible to remove some tabs, but keep subpanels with full access rights ie create/select options included. Last time some one gave some suggestions, but it ended up denying the access via the subpanel

  2. #2
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: remove tabs but keep subpanel with access rights

    Here is how I did it in Sugar OS 4.0.0.
    Open file /include/utils/security_utils.php and append the array called $modules_exempt_from_availability_check with your modules which should be accessible.

    In manifest file indicate the tab => false:
    PHP Code:
    'beans'=> array(array('module' => 'ModuleName',
                                  
    'class' => 'ModuleName',
                                  
    'path' => 'modules/ModuleName/ModuleName.php',
                                  
    'tab' => false,
                                 ) 
    And if you want to hide existing (built-in) Sugar modules, then open /include/modules.php and find there array called $modInvisList, so append it w module name you wanna to hide (i mean tab).
    Farkhad Rakhimzhanov
    E-mail: farkhad@gmail.com
    Skype: rakikama

    SuperTimesheet and Invoicing — timesheet tool with invoicing for SugarCRM.
    Book time against Cases, Project Tasks and Projects.
    Create invoice regarding booked time, print it in PDF or HTML,
    customize template as you like.

  3. #3
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Re: remove tabs but keep subpanel with access rights

    Sorry. It didn't work. It still displayed the Tab. I am using it for the sugar modules. I added the module to the modinvislist array.

  4. #4
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Re: remove tabs but keep subpanel with access rights

    I just now downloaded 4.5 and still the same issue. This is a major feature that Sugar is ignoring.

  5. #5
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Re: remove tabs but keep subpanel with access rights

    I even tried all sorts of things including the $modules_exempt_from_availability_check check. Somehow I am not sure if this the solution. Sugar people are also quiet on this. It looks like this is not possible.

    I tried 4.0.1e and 4.5.
    Last edited by sugarcare; 2006-08-10 at 02:43 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •