ragarcia87 |
06-19-2009 06:52 PM |
Quote:
Originally Posted by Ted S
(Post 1832849)
You can use template conditionals to limit the display to just one thread.
|
Thank you for your speedy response. Im not much of a coder but I will google what you mean and try to do this.
The code I am inserting into my postbit is
PHP Code:
<if condition="$thread['forumid'] == 703"> <div class="smallfont"> $helpfulanswers </div> </if>
703 is the id of the thread but it wont show in the thread. Am I doing this right?
//EDIT//
I figured out I had to use this code to target the specific threadid
PHP Code:
<if condition="$thread['forumid'] == '38' && $thread['threadid'] == '703'"> <div class="smallfont"> This is a test... </div> </if>
That works but when I add the variable $helpfulanswers it doesn't show. I need help on actually getting the variable to show up. The test message appeared only in that thread.
|