Results 1 to 5 of 5

Thread: How to disable Quick Create on SubPanel

  1. #1
    sgarbade is offline Member
    Join Date
    Feb 2010
    Posts
    12

    Default How to disable Quick Create on SubPanel

    Greetings,

    I have reviewed several posts on how to disable quick create panel in favor of the full form, however, I have not been able to get it to work. This is what I am trying to do.

    Under the "leads" panel once you open a lead you have an "Activites SubPanel" where you can "Create a Task", "SChedule a Meeting", "Schedule Call" and Compose Email. I would like (at a minimum) to be able to force the full form to open instead of the quick create panel with you click on "Schedule a Call".

    - I know there are two ways to do this...edit modules\<module name>\metadata\suppaneldefs.php

    The problem is that I do not see anywhere where it is calling a quick create muodule as opposed to a create module

    or - this would be my preferred method since it is upgrade ready..

    Add a file called - custom\modules\<module name>\ext\layoutdefs\layoutdefs.ext.php. The issue here is that I do not know if the code I found in the forums and what I am using acutally addresses my issue.

    Here is the code:

    <?php
    //WARNING: The contents of this file are auto-generated

    $layout_defs['Leads']['subpanel_setup']['leads']['top_buttons'] = array(
    array(
    'widget_class' => 'SubPanelTopCreateButton',
    ),
    );

    ?>

    I know that I am close...can anyone help?

    Thanks,

    -Steve

  2. #2
    houlejo is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Qc, Canada
    Posts
    116

    Default Re: How to disable Quick Create on SubPanel

    Hi Steve, I have the same question, did you found a solution ?

  3. #3
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: How to disable Quick Create on SubPanel

    Create this file in custom/Extensions/Modules/Calls/layoutdefs and then do a repair.

    christian.

    Quote Originally Posted by sgarbade View Post
    Greetings,

    I have reviewed several posts on how to disable quick create panel in favor of the full form, however, I have not been able to get it to work. This is what I am trying to do.

    Under the "leads" panel once you open a lead you have an "Activites SubPanel" where you can "Create a Task", "SChedule a Meeting", "Schedule Call" and Compose Email. I would like (at a minimum) to be able to force the full form to open instead of the quick create panel with you click on "Schedule a Call".

    - I know there are two ways to do this...edit modules\<module name>\metadata\suppaneldefs.php

    The problem is that I do not see anywhere where it is calling a quick create muodule as opposed to a create module

    or - this would be my preferred method since it is upgrade ready..

    Add a file called - custom\modules\<module name>\ext\layoutdefs\layoutdefs.ext.php. The issue here is that I do not know if the code I found in the forums and what I am using acutally addresses my issue.

    Here is the code:

    <?php
    //WARNING: The contents of this file are auto-generated

    $layout_defs['Leads']['subpanel_setup']['leads']['top_buttons'] = array(
    array(
    'widget_class' => 'SubPanelTopCreateButton',
    ),
    );

    ?>

    I know that I am close...can anyone help?

    Thanks,

    -Steve

  4. #4
    houlejo is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Qc, Canada
    Posts
    116

    Default Re: How to disable Quick Create on SubPanel

    Hi Christian,

    I created a file in /custom/Extension/modules/Calls/Ext/LayoutDefs called layoutdefs.ext.php.

    PHP Code:
    <?php 
    $layout_defs
    ['Leads']['subpanel_setup']['leads']['top_buttons'] = array( 
    array( 
    'widget_class' => 'SubPanelTopCreateButton'
    ), 
    ); 
    ?>
    Did a rebuid and it's not working. The Schedule call button is not going to full form.

    I found on another post that to modifiy the Schedule Call button the layoutdefs mod is not working :

    Andopes said:

    Hi, Jay.

    Schedule Call has a different behavior. You can't redefine it this way. You must edit the modules/Calls/tpl/QuickCreate.tpl

    And add some code to redirect to FullForm.

    We have did it for a customer.

    Cheers

  5. #5
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: How to disable Quick Create on SubPanel

    Quote Originally Posted by houlejo View Post
    Hi Christian,

    I created a file in /custom/Extension/modules/Calls/Ext/LayoutDefs called layoutdefs.ext.php.

    PHP Code:
    <?php 
    $layout_defs
    ['Leads']['subpanel_setup']['leads']['top_buttons'] = array( 
    array( 
    'widget_class' => 'SubPanelTopCreateButton'
    ), 
    ); 
    ?>
    Did a rebuid and it's not working. The Schedule call button is not going to full form.

    I found on another post that to modifiy the Schedule Call button the layoutdefs mod is not working :
    Why did you create extension for calls module and change layout of buttons for the leds module. It work work because of it
    CRM Software Engineer
    Eontek - www.eontek.rs

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disable Quick Create forms
    By Mithun in forum Developer Help
    Replies: 5
    Last Post: 2010-11-23, 10:55 AM
  2. how to disable the 'create' top button in subpanel?
    By yanyan in forum Developer Help
    Replies: 4
    Last Post: 2008-10-09, 07:39 AM
  3. Replies: 0
    Last Post: 2007-06-08, 12:10 PM
  4. Replies: 0
    Last Post: 2007-05-28, 10:36 AM
  5. How to disable Quick Create on Accounts Module
    By emillion in forum Developer Help
    Replies: 2
    Last Post: 2007-02-02, 06:33 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
  •