Hat jemand eine Idee, wie ich im Template einen Switch in der Art von:
Code: Alles auswählen
<!-- BEGIN switch_forum_23 -->
xyz
<!-- END switch_forum_23 -->
Code: Alles auswählen
<!-- BEGIN switch_forum_23 -->
xyz
<!-- END switch_forum_23 -->
Code: Alles auswählen
$show_content_ids = array(1,2,3); // forum_ids der Foren für switch = on
if (in_array($forum_id, $show_content_ids))
{
$template->assign_block_vars('switch_show_content', array());
}