IF condition for forum id in forumlistbody

Discussion forum for MOD Writers regarding MOD Development.
Locked
fifahub
Registered User
Posts: 150
Joined: Mon Oct 29, 2012 12:05 pm

IF condition for forum id in forumlistbody

Post by fifahub »

Hi, I want to show a stuff before a specific forum in forumlistbody.
I tried this if condition:

Code: Select all

<!-- IF FORUM_ID eq 'XX' -->stuff<!-- ENDIF -->
but it seems not work in forumlistbody. Is there another way?
Thanks so much for the support.

User avatar
imkingdavid
Former Team Member
Posts: 2670
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: IF condition for forum id in forumlistbody

Post by imkingdavid »

You'll need to use the block name as well. I haven't tested this but try: <!-- IF forumrow.FORUM_ID == 'XX' -->
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.

fifahub
Registered User
Posts: 150
Joined: Mon Oct 29, 2012 12:05 pm

Re: IF condition for forum id in forumlistbody

Post by fifahub »

Perfect, it works very well.
Thank you so much!

Locked

Return to “[3.0.x] MOD Writers Discussion”