Results 1 to 4 of 4

Thread: Need to Hide Employees module

  1. #1
    valentinag is offline Sugar Community Member
    Join Date
    Oct 2010
    Posts
    15

    Default Need to Hide Employees module

    we need to hide Employees module so non-administrators cannot have access to this information. This module is not controled by Roles so I cannot do it this way. Please help.

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Need to Hide Employees module

    Hello,

    Create a file custom/include/globalControlLinks.php

    Add following code,

    PHP Code:
    <?php
    global $current_user;
    if(!
    $current_user->is_admin)
        unset(
    $global_control_links['employees']);
    ?>
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  3. #3
    valentinag is offline Sugar Community Member
    Join Date
    Oct 2010
    Posts
    15

    Default Re: Need to Hide Employees module

    thanks I'll try

  4. #4
    JackPK's Avatar
    JackPK is offline Sugar Community Member
    Join Date
    Mar 2010
    Location
    Guadalajara, Jalisco. Mexico
    Posts
    67

    Default Re: Need to Hide Employees module

    Thank!!

    I was trying to achieve this too, the script works like a charm!!
    Jose A. Fuentes
    IT Specialist, Project Manager & SugarCRM Consultant
    Querétaro | Querétaro | Mexico
    p: +52 442-364-7187
    e: jafu.85@gmail.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hide Employees Modules
    By weballianz in forum Help
    Replies: 2
    Last Post: 2009-06-18, 10:20 AM
  2. Hide "employees" from non-admins
    By emkay in forum General Discussion
    Replies: 9
    Last Post: 2006-06-24, 06:10 AM

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
  •