Results 1 to 2 of 2

Thread: TAG function question ie {TAG.PARENT}

  1. #1
    tj@estreet.com is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    163

    Default TAG function question ie {TAG.PARENT}

    Hey all,

    I have confirmation emails going out from a custom Orders module, but while the emails are recorded in the Emails table, and show-up in Sent Emails, the 'Related To" field doesn't populate (nor links) for these email records under My Sent Email.

    The record in the emails table contains "Orders" as the parent_type and the related 'order_id' as the parent_id.
    Shouldn't that satisfy the requirements expressed for the "Related To" filed in ListViewSent.html? ie {TAG.PARENT}...
    PHP Code:
    <!-- Related To field snipped from ListViewSent.html -->
    <
    slot><{TAG.PARENThref="{URL_PREFIX}index.php?action=DetailView&module={SENTEMAIL.PARENT_MODULE}&record={SENTEMAIL.PARENT_ID}" class="listViewTdLinkS1">{SENTEMAIL.PARENT_NAME}</{TAG.PARENT}></slot>
    <!-- 
    Related To field snipped from ListViewSent.html --> 

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: TAG function question ie {TAG.PARENT}

    No, You would have to add 'Orders' to the 'record_type_display' array in include/language/en_us.lang.php. Ideally this should be done with a custom language file in the installer for your Orders module.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. isOwner question
    By frb in forum Developer Help
    Replies: 7
    Last Post: 2007-08-09, 02:38 AM
  2. Error on fresh install: unrecognized tag
    By Dale Thomas in forum Help
    Replies: 1
    Last Post: 2006-10-24, 12:06 AM
  3. Question on function setQuery
    By Sing in forum Developer Help
    Replies: 1
    Last Post: 2005-07-13, 06:18 PM
  4. Question regarding Sugar Public License
    By netstruXure in forum General Discussion
    Replies: 1
    Last Post: 2005-03-23, 11:11 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
  •