Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: History Subpannel Layout ! Help Please

  1. #11
    shyam007 is offline Sugar Community Member
    Join Date
    Dec 2008
    Location
    Pune
    Posts
    202

    Default Re: History Subpannel Layout ! Help Please

    Quote Originally Posted by andopes View Post
    Hi jmaskell

    You also need to create an extended layoutdefs for Accounts (custom/Extension/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php) changing the date_modified to date_entered into

    PHP Code:
    $layoutdefs['Accounts'][subpanel_setup]['history']['sort_by'
    Then you need to go to Admin -> Repair -> Rebuild Extension

    Regards
    Hi andopes,

    Please show me code for extended layoutdefs for Accounts (custom/Extension/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php) changing the date_modified to date_entered.

    Please Please Help me.


    If possible please attach "custom/Extension/modules/Accounts/ExtLayoutdefs/layoutdefs.ext.php"
    Last edited by shyam007; 2008-12-24 at 12:17 PM.

  2. #12
    shyam007 is offline Sugar Community Member
    Join Date
    Dec 2008
    Location
    Pune
    Posts
    202

    Default Re: History Subpannel Layout ! Help Please

    Quote Originally Posted by shyam007 View Post
    Hi andopes,

    Please show me code for extended layoutdefs for Accounts (custom/Extension/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php) changing the date_modified to date_entered.

    Please Please Help me.


    If possible please attach "custom/Extension/modules/Accounts/ExtLayoutdefs/layoutdefs.ext.php"
    Hi andopos,

    Can You help me.
    Please.
    Shyam
    Mumbai - India.


    shyam.fc@gmail.com

    SugarCRM (CE & PRO):- 6.1.*
    Operating System :- CentOS 5.5
    PHP Version:- 5.2.17
    Apache :-2
    MYSQL :-5.0

  3. #13
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: History Subpannel Layout ! Help Please

    High andopes .
    i want to add custom field 'subject' instead of field 'subject' which is predefined in activities.
    I have made following changes added this field into Foractivities.php of calls,meetings,tasks of modules .then created layoutdefs.ext.php in
    custom/Extension/modules/Leads/Ext/Layoutdefs/
    Structure of my layoutdefs.ext.php is as follows:
    <?php
    $layoutdefs['Leads'][subpanel_setup]['activities']['sort_by'] = array (
    'order' => 20,
    'sort_order' => 'desc',
    'sort_by' => 'date_start',
    'title_key' => 'LBL_ACTIVITIES',
    'type' => 'collection',
    'subpanel_name' => 'activities',
    'module' => 'Activities',
    'top_buttons' =>
    array (
    0 =>
    array (
    'widget_class' => 'SubPanelTopCreateNoteButton',
    ),
    1 =>
    array (
    'widget_class' => 'SubPanelTopArchiveEmailButton',
    ),
    2 =>
    array (
    'widget_class' => 'SubPanelTopSummaryButton',
    ),
    ),
    'collection_list' =>
    array (
    'meetings' =>
    array (
    'module' => 'Meetings',
    'subpanel_name' => 'ForActivitiesLeads',
    'get_subpanel_data' => 'meetings',
    ),
    'tasks' =>
    array (
    'module' => 'Tasks',
    'subpanel_name' => 'ForActivitiesLeads',
    'get_subpanel_data' => 'tasks',
    ),
    'calls' =>
    array (
    'module' => 'Calls',
    'subpanel_name' => 'ForActivitiesLeads',
    'get_subpanel_data' => 'calls',
    ),



    ),
    );
    ?>
    but it is not working still,anything that i am missing
    reply me.
    Last edited by vishwasrao; 2009-01-20 at 03:49 AM. Reason: give detail information

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-05-13, 09:29 AM
  2. Changing the layout of the Cases subpannel
    By Tavares in forum Developer Help
    Replies: 2
    Last Post: 2007-06-12, 11:39 AM
  3. Replies: 4
    Last Post: 2006-12-27, 05:26 PM
  4. Edit History Layout
    By rsantiago in forum Help
    Replies: 0
    Last Post: 2006-09-27, 02:46 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
  •