[RSS Feed/News] IF a question thread has a solution...

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I try to display content with this conditional statement:
HTML:

Code:
<xf:if is="$thread.discussion_type == 'question' && $thread.type_data.solution_post_id != 'null'">
    NO SOLUTION
<xf:else />
    SOLUTION
</xf:if>
But it does not matter if the thread has a solution or not it displays the SOLUTION content, where is my error?
Thanks!

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom