Results 1 to 3 of 3

Thread: Rename subpanel tab + clickable

  1. #1
    dante2010 is offline Member
    Join Date
    Feb 2009
    Posts
    17

    Default Rename subpanel tab + clickable

    Hi,

    How does one rename the tabs that appear in the subpanels after making a relationship? Right now I see "All" and "Other". I want to rename "Other" to the actual name of the module that it will display.

    Also, how do I make the first field in the listview clickable in the subpanel display? I've been able to do this in the regular listview by adding 'link' => true, to the field, in the file /modulebuilder/packages/Real_Estate/modules/Property/metadata/listviewdefs.php.

    Please see the attached jpg for an example of what I mean by the subpanel.
    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: Rename subpanel tab + clickable

    Hi Dante

    Instead of renaming the "Other" tab you should:
    1. Go to Admin -> Configure Group Tabs;
    2. Add a new Group;
    3. Add into this new Group your module

    This way SugarCRM will automatically display this new tab and into it your module subpanel.

    To generate the link into that field you need to edit the file modules/<Subpanel Module Name>/metadata/subpanels/default.php and add into field definition the attribute:

    PHP Code:
    'widget_class' => 'SubPanelDetailViewLink'

    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
    helsen is offline Junior Member
    Join Date
    Jun 2007
    Posts
    1

    Angry Re: Rename subpanel tab + clickable

    Hi André,

    I did created new module called Project_TimeSheet (basic template in studio), and created relationship with Project Module, in Project module Subpannels, I can see PROJECT_TIMESHEET subpannel only in "Other Tab".

    I need put this subpannel in the Acctivity tab or in new tab (from new Group tabs),

    your step-by-step doesn´t work for me in Sugar 5.2.0i and 5.2.0j when I create new group tab in "Go to Admin -> Configure Group Tabs",

    What can I do to fix this problem?

    Tks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot Get Subpanel to have a clickable link
    By cmcfarland425 in forum Help
    Replies: 6
    Last Post: 2008-08-09, 04:38 AM
  2. Cannot Get Subpanel to have a clickable link
    By cmcfarland425 in forum Downloads
    Replies: 1
    Last Post: 2008-06-30, 02:32 AM
  3. Clickable hyperlinks?
    By maxdunn210 in forum Help
    Replies: 1
    Last Post: 2006-05-26, 03:29 PM
  4. Making fields clickable
    By Jamman960 in forum Help
    Replies: 1
    Last Post: 2006-03-07, 03:00 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
  •