Results 1 to 5 of 5

Thread: sugarCRM Variable Declaration

  1. #1
    samsul is offline Sugar Community Member
    Join Date
    Jan 2012
    Location
    India,Tamil Nadu
    Posts
    73

    Default sugarCRM Variable Declaration

    Hi All,

    I have found the code in the path of

    cache\modules\Documents\searchform_basic.tpl

    The code is,
    <td scope="row" nowrap="nowrap" width='1%' >
    <label for='document_name_basic'> {sugar_translate label='LBL_NAME' module='Documents'}
    </td>

    I want to know how is working and where the sugar_translate is declared.?

    can you please explain?..

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: sugarCRM Variable Declaration

    sugar_translate is a smarty function that takes the label 'LBL_NAME' and translates it in the context of the 'Documents' module.
    John Mertic
    Sugar Community Manager

  3. #3
    samsul is offline Sugar Community Member
    Join Date
    Jan 2012
    Location
    India,Tamil Nadu
    Posts
    73

    Default Re: sugarCRM Variable Declaration

    Thanks For Your Reply,

    I know its a silly question ..
    Please give me the exact path for sugar_translate smarty function.

  4. #4
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: sugarCRM Variable Declaration

    Quote Originally Posted by samsul View Post
    Thanks For Your Reply,

    I know its a silly question ..
    Please give me the exact path for sugar_translate smarty function.
    include/Smarty/plugins/function.sugar_translate.php
    John Mertic
    Sugar Community Manager

  5. #5
    samsul is offline Sugar Community Member
    Join Date
    Jan 2012
    Location
    India,Tamil Nadu
    Posts
    73

    Default Re: sugarCRM Variable Declaration

    Many Thanks...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Issues in name_value[][] declaration
    By mahmoodzubair in forum Developer Help
    Replies: 1
    Last Post: 2011-03-22, 03:05 PM
  2. Replies: 0
    Last Post: 2010-02-10, 12:49 AM
  3. Replies: 0
    Last Post: 2009-11-06, 10:53 AM
  4. Declaration Module, any ideas?
    By spac1x in forum Developer Help
    Replies: 0
    Last Post: 2008-02-21, 06:21 PM

Tags for this Thread

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
  •