Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 how do i bring the Xthread field into the portal?
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: how do i bring the Xthread field into the portal?
Assuming the post_image is an image custom thread field, there is an explanation under the Input Field Type setting when you create or edit the custom field.

The basic usage is by using {$GLOBALS['threadfields']['key']['item']} variable. Replace the key to your Key (in your case is post_image and the item with one of the list in the explanation.
So, for example, if you want to get the image url, you can use {$GLOBALS['threadfields']['post_image']['url']} or if you want to get the Display Format of the field, you can use {$GLOBALS['threadfields']['post_image']['value']}

But if the field accept multiple images, the format is slightly different (you can also find the explanation about it under the Input Field Type setting).

09-21-2015 06:46 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: how do i bring the Xthread field into the portal? - RateU - 09-21-2015 06:46 AM

 Standard Tools
Forum Jump: