Results 1 to 6 of 6

Thread: Remove Unwanted QuickCreate Fields

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

    Question Remove Unwanted QuickCreate Fields

    Hi All,

    Im using Sugar 5.1.0a, I was hoping someone would know how to remove the sections highlighted in Red on the attached.

    I want to remove (or make invisible) the two large quickcreate boxes, and also remove (or make invisible) the 'Sales' 'Marketing' 'Support' and 'Activities' tabs.

    Many Thanks
    Attached Images Attached Images  

  2. #2
    rma
    rma is offline Senior Member
    Join Date
    Jun 2008
    Posts
    47

    Default Re: Remove Unwanted QuickCreate Fields

    Hi
    1. You must create a custom/modules/yourPrincipalModule/Ext/Layoutdefs/hide.php file and put in this file
    unset($layout_defs[yourPrincipalModule]['subpanel_setup']['activities']);
    unset($layout_defs[yourPrincipalModule]['subpanel_setup']['XXX']); where XXX is the module's name of the "Member Organisation'.
    This will hide activities and Member Organisation.

    2. To remove: Sales, support, ... You must go to Admin->Configure group Tabs and remove them.

    Rosanna

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

    Question Re: Remove Unwanted QuickCreate Fields

    Hi Thanks

    I cant get it to work at the mo,

    My php looks like this...

    PHP Code:
    <?php unset($layout_defs[Accounts]['subpanel_setup']['activities']); unset($layout_defs[Accounts]['subpanel_setup']['Accounts']); ?>
    Is this right?

  4. #4
    rma
    rma is offline Senior Member
    Join Date
    Jun 2008
    Posts
    47

    Default Re: Remove Unwanted QuickCreate Fields

    Hi,
    I make a mistake, excuse me. You must put the file hide.php in
    custom\Extension\modules\your module\Ext\Layoutdefs

    Don't forget to make next a quickrepaIr.

    Your code is rigth.
    My code:
    Code:
     
    <?php unset($layout_defs['Contacts']['subpanel_setup']['campaigns']);
    Rosanna

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

    Question Re: Remove Unwanted QuickCreate Fields

    Hi,

    I dont fully understand this bit and cannot get it to work... can you explain a bit more, specifically the bit in bold

    unset($layout_defs[yourPrincipalModule]['subpanel_setup']['XXX']); where XXX is the module's name of the "Member Organisation'

    Many Thanks... by the way the activities part works

  6. #6
    rma
    rma is offline Senior Member
    Join Date
    Jun 2008
    Posts
    47

    Default Re: Remove Unwanted QuickCreate Fields

    In my version 5.1 PRO, I don't have a sub panel "Mermber Organisations", so I don't know the module's name of this "Member Organisations" subpanel that you must put in the hide.php file for hiding it in the same way of Activities.

    Rosanna

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2010-12-10, 05:32 AM
  2. Emails and QuickCreate custom fields
    By mjp9119 in forum Developer Help
    Replies: 2
    Last Post: 2008-05-08, 07:13 PM
  3. How to remove QuickCreate panel?
    By ericchen in forum Developer Help
    Replies: 1
    Last Post: 2007-05-29, 05:31 PM
  4. Custom fields in quickcreate
    By stevec in forum Developer Help
    Replies: 5
    Last Post: 2006-12-03, 07:39 PM

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
  •