PDA

View Full Version : Forum blocks - displaying blocks in specific forums


cormee
05-12-2011, 12:44 PM
Hi

I want to display a Custom HTML/PHP block in only one forum and have it hidden in all others. How do I go about doing that?

Thanks :)

Disasterpiece
05-12-2011, 12:49 PM
you can use template conditions for that purpose. Not sure what the exact convention is tough..

<vb:if condition="$forumid==3">Display This text</vb:if>

cormee
05-12-2011, 01:19 PM
Thanks, I put that in Edit Block>Content and selected PHP as the content type, but it's just blank in the forum there should be content on, any idea why?

--------------- Added 1305210919 at 1305210919 ---------------

OK I changed it to html and it displays it, but in evey forum unfortunately.