Quote:
Originally Posted by kirstyd
We've just upgraded to 6.0 Gold, from 4.5
Code like <if condition="$thread[forumid]==22"> ... </if> works fine in the post_thanks_button template to show different images in different forums, but the same code is failing to work in the post_thanks_postbit template.
Any ideas? Debugging shows that the post_thanks_postbit is definitey being used, but $thread[forumid] doesn't seem to be set to anything.
thanks
kirsty
|
It is placed in a function now.
Try using the hook post_thanks_function_fetch_post_thanks_template_st art and put something like
global $thread;
and see if you get anything.