Post: #1
Q: How displaying the value of a custom thread field?

A:
You need to make changes to the relevant templates. Use {$GLOBALS['threadfields']['key']} in templates to reference that field. For example, if the Key of the custom thread field is myfield, then you need to use {$GLOBALS['threadfields']['myfield']} in templates to reference that field. This is slightly different for file inputs type.
  • For displaying it in each thread on the threadlist, generally, you need to edit your forumdisplay_thread template.
  • For displaying it on your showthread page, generally, you need to edit your showthread/postbit/postbit_classic template.
  • For displaying it on your search results page, generally, you need to edit your search_results_threads_thread template.
  • For displaying it on your portal announcements page, generally, you need to edit your portal_announcement template.

RateU Offline
03-18-2012, 02:39 AM

Find all posts by this user
Quote this message in a reply

 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How displaying the value of a custom thread field?
Author Message
There is no reply for this topic.


Forum Jump: