Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 using template conditionals with xthreads fields
puritas Offline
Junior Member
**
Posts: 4
Joined: May 2014
Post: #1
using template conditionals with xthreads fields
I'm probably doing something terribly boneheaded here, but if I use template conditional to check if a xthreads field's been filled in like so:


<if {$GLOBALS['threadfields']['gearlist']} then></if>
Entire template won't load

using it normally like
<if $mybb->user['usergroup'] then></if>
has no problems Frown

any tips?
06-30-2014 12:09 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: using template conditionals with xthreads fields
Try taking out the curly braces ( { .. } ).

My Blog
07-01-2014 09:01 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: