Results 1 to 4 of 4

Thread: Selectable fields in Sub-Panel How To activate Clickability

  1. #1
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Exclamation Selectable fields in Sub-Panel How To activate Clickability

    Hello,

    How can someone activate a field or make a field in a sub panel clickable to bring up the full data.

    As you can see on image 1 nothing is clickable as a subpanel.

    On image 2, which is the list view of the module, only "NOM" (name) is clickable to bring up data. That same field is not clickable in sub panel.

    Also is there anyway to make custom fields clickable to view full data ?

    That specific module will not use the "NAME" field, for it will be used as a customer's equipment owned with drop down menus to select make, year etc.

    Thank you
    Attached Images Attached Images   

  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: Selectable fields in Sub-Panel How To activate Clickability

    You need to edit the script modules/<ModuleName>/metadata/subpanels/default.php and edit the field just like this example I copied from modules/Calls/metadata/subpanels/ForHistory.php


    PHP Code:
            'contact_name'=>array(
                 
    'widget_class'            => 'SubPanelDetailViewLink',
                 
    'target_record_key'    => 'contact_id',
                 
    'target_module'        => 'Contacts',
                 
    'module'                => 'Contacts',
                 
    'vname'                => 'LBL_LIST_CONTACT',
                 
    'width'                => '11%',
                 
    'sortable'=>false,
            ), 
    Cheers
    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
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: Selectable fields in Sub-Panel How To activate Clickability

    Thank you,

    So it can only be done in PHP mode ? Of which we do not have acces to. And we have to pay to have things modified.

    I think Sugar is to heavily dependent on PHP and not enough on friendly user customization. Sometime seems like simple things are left off specifically for non programmers to give job to PHP programmers. I stress on sometimes, and this seems to be the case now. Like it wouldn't be hard in the field creation window to have a check box for Linkable and sortable which would go and do true or false in the php.

    But thanks for your answer, it's appreciated.

  4. #4
    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: Selectable fields in Sub-Panel How To activate Clickability

    Definitely, this customization only can be done by code.

    SugarCRM had improved a lot the user friendly customization, but definitely there are several features to implement.
    In the real world only advanced users/developers are able to do advanced customization on application they play with. SugarCRM is an example.
    If you try some CMS application or anything else you will face the same pain. This isn't a SugarCRM limitation at all.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2011-09-13, 10:44 AM
  2. How to activate custom search tab?
    By Gyro.Gearless in forum Developer Help
    Replies: 3
    Last Post: 2010-04-05, 09:49 AM
  3. Creating Selectable User Box in Zucker Reports
    By BriteComputers in forum Help
    Replies: 6
    Last Post: 2009-02-18, 03:34 PM
  4. Replies: 3
    Last Post: 2008-12-08, 08:41 AM

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
  •