Results 1 to 2 of 2

Thread: Where does the data for a template come from??

  1. #1
    Rudi Mentär is offline Senior Member
    Join Date
    Sep 2008
    Posts
    157

    Default Where does the data for a template come from??

    Hi

    I need the Session ID in the Smarty - DetailView.tpl for the Contatct-Details.
    So i wanted to store the SessionID in the $fields - Variable.

    My Question is where can i do this - i have searched a lot but couldnt find it.

    I have to say that i am quiet new to php and to SugarCRM. ^^

  2. #2
    Rudi Mentär is offline Senior Member
    Join Date
    Sep 2008
    Posts
    157

    Default Re: Where does the data for a template come from??

    i found out myself:

    i can get the Session-ID from the Cookie
    Code:
    {php}echo $_COOKIE['PHPSESSID'];{/php}

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Saving and updating custom fields data
    By jones70 in forum Developer Help
    Replies: 2
    Last Post: 2011-10-05, 06:10 AM
  2. Show list of saved search table data in template
    By maniram2202 in forum Developer Help
    Replies: 2
    Last Post: 2008-09-26, 07:08 AM
  3. Syncing data INTO Sugar
    By mhayhurst in forum Developer Help
    Replies: 2
    Last Post: 2008-02-03, 06:38 PM
  4. Importing "Target_type" data
    By JoeK in forum Help
    Replies: 1
    Last Post: 2006-01-09, 02:15 AM
  5. Making additional template data available in views
    By afoaf in forum Developer Help
    Replies: 1
    Last Post: 2005-03-22, 12:38 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
  •