Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 custom fields
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #7
RE: custom fields
Yeah. Actually, Yumi already provided us a guide for XThreads in the description under each settings when we create a custom thread fields.

For example, the description under the Key setting:
Description of the Key setting Wrote:The key through which this field is accessed through. Should be kept to alphanumeric characters, underscores (_) and hypens (-) only. Note that only inputs for this field on newthread/editpost are automatically added for you; forumdisplay/showthread etc templates aren't affected, so you will need to make changes to the relevant templates for this to be useful. Use {$GLOBALS['threadfields']['key']} in templates to reference this field (this is slightly different for file inputs - more info given below if you choose to make a file input).

With the description above, we should know how to display the value of the custom thread field Smile

10-13-2011 07:36 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
custom fields - asadkhan1084 - 10-12-2011, 01:43 PM
RE: custom fields - ZiNgA BuRgA - 10-12-2011, 02:46 PM
RE: custom fields - asadkhan1084 - 10-12-2011, 03:29 PM
RE: custom fields - ZiNgA BuRgA - 10-12-2011, 04:05 PM
RE: custom fields - asadkhan1084 - 10-12-2011, 04:23 PM
RE: custom fields - Sama34 - 10-13-2011, 05:22 AM
RE: custom fields - RateU - 10-13-2011 07:36 AM

 Standard Tools
Forum Jump: