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 » Sun Oct 12, 2014 7:46 am

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: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: IF condition for forum id in forumlistbody

Post by imkingdavid » Sun Oct 12, 2014 3:03 pm

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.
Remember, the enemy's gate is down.

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

Re: IF condition for forum id in forumlistbody

Post by fifahub » Mon Oct 13, 2014 12:00 pm

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

Locked

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