For a new project, I've installed two identical forums with the same database. The idea is this: Category 1 (all), category 2 (forum1-only), category 3 (forum2-only), category 4 (all). The thing I have problems with is hiding category 2 from the second forum, and hiding category 3 from the first forum.
What I did so far:
Code: Select all
'FORUM_PARENT_ID' => $row['parent_id'],
./styles/prosilver/template/forumlist_body.htmldisplay the parent ID. The variable worked.
When I put it in an IF-statement, like
<!-- IF forumrow.FORUM_PARENT_ID != 5 --> Test <!-- ENDIF -->it worked. Note: I put those code at the end of the forum description, the forums in the cat with ID 5 weren't displaying it, the others were.
However, now I tried to put it around the code where the forums are generated in the
forumlist_body.html, it still displays the forums with the parent ID of 5.