Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: subpanel display order in project module

  1. #1
    anjireddy987 is offline Senior Member
    Join Date
    Jan 2010
    Location
    hyderabad,india
    Posts
    91

    Default subpanel display order in project module

    Hi,

    i have to arrange the subpanels in a order ,same order have to display for all the users.

    while changing the order, project group task subpanel have to display first,

    Next custom realted subpanels have to display,
    next i have to display common subpanels like activities,history,etc.
    how to arrange the subpanels in that way

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: subpanel display order in project module

    Quote Originally Posted by anjireddy987 View Post
    Hi,

    i have to arrange the subpanels in a order ,same order have to display for all the users.

    while changing the order, project group task subpanel have to display first,

    Next custom realted subpanels have to display,
    next i have to display common subpanels like activities,history,etc.
    how to arrange the subpanels in that way
    to change order of subpanels for projects create a file

    custom/Extension/modules/Project/Ext/Layoutdefs/custom.php

    in file put

    $layout_defs['Project'] ['projecttask']['order'] = 10;
    $layout_defs['Project'] ['activities']['order'] = 80;
    $layout_defs['Project'] ['history']['order'] = 90;
    Etc.

    then do a repair
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  3. #3
    anjireddy987 is offline Senior Member
    Join Date
    Jan 2010
    Location
    hyderabad,india
    Posts
    91

    Default Re: subpanel display order in project module

    hi mikesolomon,

    Thank you for u r help, i tried u r method and working it fine

  4. #4
    m3suriya is offline Senior Member
    Join Date
    Jan 2010
    Location
    Chennai, INDIA
    Posts
    129

    Default Re: subpanel display order in project module

    Hi Mike

    i have done the same thing as you written but still nothing arranged in that way

    well for my leads module i have created a folder
    custom\Extension\modules\Leads\Ext\Layoutdefs\cust om.php

    with the following code. :
    PHP Code:
    <?php
    $layout_defs
    ['Leads']['campaigns']['order'] = 20;
    $layout_defs['Leads']['history']['order'] = 10;
    $layout_defs['Leads']['activities']['order'] = 30;
    ?>
    and repaired the leads modules

    but nothing has rearranged in leads subpanels....
    im using sugarce5.5
    Regards & Thanks
    UDAY
    __________________
    WinXP / SugarCE v5.5 / Apache 2.2 / PHP 5.2.11 / MySQL 5.1.36

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

    Default Re: subpanel display order in project module

    Hi,

    Change Leads to Lead and see.
    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

  6. #6
    m3suriya is offline Senior Member
    Join Date
    Jan 2010
    Location
    Chennai, INDIA
    Posts
    129

    Default Re: subpanel display order in project module

    ah still nothing affected in subpanels

    PHP Code:
    $layout_defs['Lead']['campaigns']['order'] = 20;
    $layout_defs['Lead']['history']['order'] = 10;
    $layout_defs['Lead']['activities']['order'] = 30
    is that file name should be custom.php???

    even i repair n rebuil the leads module but still nothing....
    Regards & Thanks
    UDAY
    __________________
    WinXP / SugarCE v5.5 / Apache 2.2 / PHP 5.2.11 / MySQL 5.1.36

  7. #7
    m3suriya is offline Senior Member
    Join Date
    Jan 2010
    Location
    Chennai, INDIA
    Posts
    129

    Default Re: subpanel display order in project module

    any updates David? on subpanel ordering... still i cant makes it works
    Regards & Thanks
    UDAY
    __________________
    WinXP / SugarCE v5.5 / Apache 2.2 / PHP 5.2.11 / MySQL 5.1.36

  8. #8
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: subpanel display order in project module

    Quote Originally Posted by m3suriya View Post
    ah still nothing affected in subpanels

    PHP Code:
    $layout_defs['Lead']['campaigns']['order'] = 20;
    $layout_defs['Lead']['history']['order'] = 10;
    $layout_defs['Lead']['activities']['order'] = 30
    is that file name should be custom.php???

    even i repair n rebuil the leads module but still nothing....
    Try
    Code:
    $layout_defs['Leads']["subpanel_setup"]['campaigns']['order'] = 20;
    $layout_defs['Leads']["subpanel_setup"]['history']['order'] = 10;
    $layout_defs['Leads']["subpanel_setup"]['activities']['order'] = 30;
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  9. #9
    m3suriya is offline Senior Member
    Join Date
    Jan 2010
    Location
    Chennai, INDIA
    Posts
    129

    Default Re: subpanel display order in project module

    Hi Mike

    Thanks it rocks... thanks for your help
    Regards & Thanks
    UDAY
    __________________
    WinXP / SugarCE v5.5 / Apache 2.2 / PHP 5.2.11 / MySQL 5.1.36

  10. #10
    naveen2k7 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Chennai, India
    Posts
    110

    Default Re: subpanel display order in project module

    Hi Mike & David,

    I have added the same code in custom.php.but its get affected in admin user..But not on the other users..Iam little confused, that what will be the issue is??

    Can U please help me out..how to solve this issue...

    Thanks & Regards,
    Naveen

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Display Relate Field Data in the Subpanel of module
    By Avi.Nale in forum Developer Help
    Replies: 2
    Last Post: 2009-05-06, 05:50 AM
  2. how to stored sorting order in subpanel display?????
    By akkimca in forum Developer Help
    Replies: 0
    Last Post: 2009-03-27, 12:14 PM
  3. Replies: 1
    Last Post: 2009-03-26, 05:09 AM
  4. Subpanel Display For New Module
    By prabukanth in forum Developer Help
    Replies: 0
    Last Post: 2008-10-13, 01:47 PM
  5. Subpanel in Project Module
    By gladiorlic in forum Help
    Replies: 1
    Last Post: 2007-06-28, 02:35 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
  •