Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Solved] Display/Sort forum threadlist with xthread field ?
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #10
[Updated] RE: Display/Sort forum threadlist with xthread field ?
(03-11-2012 11:08 AM)ZiNgA BuRgA Wrote:  XThreads doesn't care what name/title you give - that's only for yourself and users.It only cares about the key, so all references etc are based off that.

Thank you for the followup.

Guess am confusing the terminology.
At undoc it says...

Quote:The general format to use in templates is something like this: {$filters_set['key']['var']}. key refers to the filter; for
example, if you've enabled filtering on a thread field named "myfield", the corresponding key is myfield....

To sort by a thread field, prefix its key with tf_, for example, forumdisplay.php?fid=2&sortby=tf_myfield will sort the
threads by myfield."

Am assuming the 'key' is the key setup at ACP custom thread field setup (which put in a |code| box in previous post), but not sure what the 'name' 'myfield' is referring to ?

Using the info from that previous post custom thread field setup |code| box, its almost like the 'tf_myfield' would be 'ct_Custom Thread:'

But that doesn fly when do code T&E.

Or, maybe should be adding something else to that custom thread field setup (referring to custom thread field setup in |code| box at previous thread) ?

Ps:  
Am doing a PHP tutorial at http://www.tizag.com/, and appears like the 'name' is a variable name ?  How to set that name in ACP custom thread field setup ?  Guess just grabbing at things ?

Thanks again for your help !
(This post was last modified: 03-11-2012 02:02 PM by akm.)
03-11-2012 12:39 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread

 Standard Tools
Forum Jump: