Announcement

Collapse
No announcement yet.

<if condition="{$GLOBALS[foruminfo][forumid]}==X"> Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Razasharp
    replied
    The postbit template Jake, Zachery's suggestion seems to work tho! (Thanks Zachery).

    Leave a comment:


  • Jake Bunce
    replied
    Which template?

    Leave a comment:


  • Zachery
    replied
    try $thread[forumid]

    Leave a comment:


  • <if condition="{$GLOBALS[foruminfo][forumid]}==X"> Question

    I'm trying to use a conditional to test whether a thread is in a certain forum and if so to display something like this in the post bit:

    <if condition="{$GLOBALS[foruminfo][forumid]}== X"> show this </if>

    But it doesn't work, any ideas what I'm doing wrong?

    (I've tried <if condition="$foruminfo[forumid]==X"> but that doesnt work either)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X