Announcement

Collapse
No announcement yet.

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

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

  • <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)
    What's Special About Ruby on Rails?

  • #2
    try $thread[forumid]

    Comment


    • #3
      Which template?

      Comment


      • #4
        The postbit template Jake, Zachery's suggestion seems to work tho! (Thanks Zachery).
        What's Special About Ruby on Rails?

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X