Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Is this possible? (advanced templating)

@bobbyh

Member

If you want varying HTML depending on what the forum id is, you should probably just use a conditional if/inside of one template file like so:

<?php if ($forum_id == 1) {

echo 'html1';

} elseif ($forum_id == 2) {

echo 'html2';

?>

Any other approach will probably lead to madness. :-)

Skip to toolbar