Results 1 to 5 of 5

Thread: Subpanel defination

  1. #1
    joshmark is offline Member
    Join Date
    Dec 2006
    Posts
    9

    Default Subpanel defination

    Hi All,

    I just upgraded from 4.5 to 5.1.0b without any hic ups. But I'm few minor issues with the customizations I did in 4.5.

    I see two sub panels in Contact module for cases, one that I had customized and one which is default. Where can I find the subpanel definition to edit it?

    Thanks,

    Joshua

  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: Subpanel defination

    Hi Joshua

    The subpanel definition for the default subpanel is in modules/Cases/metadata/subpaneldefs.php
    The subpanel definition for the subpanel you had defined is in custom/Exension/modules/Cases/Ext/Layoutdefs/ folder.

    Regards
    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
    joshmark is offline Member
    Join Date
    Dec 2006
    Posts
    9

    Default Re: Subpanel defination

    Thanks for your note. I tried but this is not what I was looking for. The sub panel appearing with Contact detail view is getting displayed twice and since I do not have the name field in this sub panel, it is not click able to go to the detail view. I tried putting 'link' => true, which worked great in 4.5 but it does not seem to help here. I also did the repair to clear cache but no luck.

  4. #4
    joshmark is offline Member
    Join Date
    Dec 2006
    Posts
    9

    Default Re: Subpanel defination

    Any pointers on how to make the link between subpanel list and detail view? I am unable to figure it out...

  5. #5
    joshmark is offline Member
    Join Date
    Dec 2006
    Posts
    9

    Default Re: Subpanel defination

    Finally I was able to figure this out after several hours of frustration. Adding

    'widget_class' => 'SubPanelDetailViewLink',

    to the field in {MODULE}\ metadata\subpanels\default.php solved my link problem.

    Thanks for your pointers.

    Josh

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Subpanel NOT displaying duplicate entries
    By Durrill in forum Developer Help
    Replies: 2
    Last Post: 2012-03-29, 10:46 AM
  2. Subpanel In Editview. Again.
    By Winter in forum Developer Help
    Replies: 0
    Last Post: 2008-10-29, 01:31 AM
  3. Replies: 1
    Last Post: 2008-06-18, 05:41 PM
  4. HOWTO - Hack Sugar to support related module info in subpanel (one-many)
    By kenneth.thorman in forum Developer Tutorials
    Replies: 35
    Last Post: 2008-06-10, 07:51 AM
  5. Replies: 4
    Last Post: 2007-09-10, 02:14 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
  •