Announcement

Collapse
No announcement yet.

Conditional question, if a post is in forum X display <else />..

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

  • Conditional question, if a post is in forum X display <else />..

    I was wondering if there's a conditional that I could put in the postbit template which would tell the board to display a certain code if and only if it's in forum '4'.

    Anyone know how I could do this?

  • #2
    <if condition="$thread[forumid] == 4"> do this for forumid 4 <else /> leave me alone!</if>

    Comment


    • #3
      the template is an added template for a gallery system on vB.org. it has a new template set labeled 'gallery' and the template I need the conditional in is 'gallery_attachment(which is displayed in the postbit)'.. the one you gave didn't work for that, any ideas?
      Last edited by AshAbed; Fri 7 Jul '06, 11:00pm.

      Comment


      • #4
        Can't provide support for hacks/addons. Sorry. I don't even know what varibles would be avaible if its not a standard template.
        Last edited by Steve Machol; Sun 9 Jul '06, 11:57am. Reason: grammar and spelling

        Comment

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