Results 1 to 3 of 3

Thread: Remove user customisable theme

  1. #1
    DanBrown is offline Senior Member
    Join Date
    Jul 2008
    Posts
    95

    Question Remove user customisable theme

    Hi i'm using Sugar 5.0.0g

    I would like to be able to "Roll Out" the theme "Vintage Sugar" to all clients and restrict them from editing the theme.

    Many thanks in advance.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Remove user customisable theme

    Hi, Dan

    Edit the file modules/Users/Login.php

    and remove or comment the lines

    PHP Code:
            <tr>
                <td class="dataLabel" width="30%"><?php echo $current_module_strings['LBL_THEME'?></td>
                <td width="70%"><select style='width: 120px' name='login_theme'><?php echo get_select_options_with_id(get_themes(), $display_theme?></select></td>
            </tr>
    Edit the file config.php and set the
    showThemePicker to false
    and
    default_theme to your theme

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    DanBrown is offline Senior Member
    Join Date
    Jul 2008
    Posts
    95

    Thumbs up Re: Remove user customisable theme

    Thanks again andre
    Last edited by DanBrown; 2008-08-13 at 09:38 AM. Reason: Figured it out

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Remove the theme selection drop down
    By asimzaidi in forum Help
    Replies: 17
    Last Post: 2009-07-09, 02:56 PM
  2. Remove Theme and Language selection
    By tiger0516 in forum Help
    Replies: 12
    Last Post: 2009-03-20, 04:50 AM
  3. Replies: 0
    Last Post: 2008-03-04, 05:22 PM
  4. Replies: 0
    Last Post: 2007-09-14, 09:27 AM
  5. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 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
  •