Results 1 to 3 of 3

Thread: How to Access Global app_list_string in detailviewdefs.php thru javascript

  1. #1
    enigma is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    between 1's and 0's
    Posts
    39

    Default How to Access Global app_list_string in detailviewdefs.php thru javascript

    I'm trying to get array values coming from en_us.lang.php and pass it to javascript. anyone knows how to do it?

  2. #2
    enigma is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    between 1's and 0's
    Posts
    39

    Smile Re: How to Access Global app_list_string in detailviewdefs.php thru javascript

    Quote Originally Posted by enigma
    I'm trying to get array values coming from en_us.lang.php and pass it to javascript. anyone knows how to do it?
    anyone knows how to?

  3. #3
    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: How to Access Global app_list_string in detailviewdefs.php thru javascript

    Hi, enigma

    You can use something like that into your javascript:

    var msg = SUGAR.language.get('app_strings', 'ERR_INVALID_VALUE') + ' ' + SUGAR.language.get('Accounts', 'ERR_CPF_INVALIDO');
    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. Help Wanted: MS Access conversion?
    By stephenmchugh in forum Classifieds
    Replies: 2
    Last Post: 2011-04-10, 07:27 AM
  2. Access Control in SugarCRM5 CE Full
    By dhanukanaveen in forum Help
    Replies: 0
    Last Post: 2007-12-15, 09:31 AM
  3. 2 Companies & Multiple Access Levels
    By bulsworth in forum Help
    Replies: 10
    Last Post: 2007-01-18, 10:34 PM
  4. Replies: 0
    Last Post: 2006-04-10, 06:31 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
  •