Re: navigation using forum_id
yes, i did went to that topic earlier, I searched the whole forum but I just don’t get how i should use it I tried : global $topic_id, $forum_id; include(‘../nav/’.$forum_id.’.php’);
it works fine but only on forum pages. not on topics. The same with an earlier post asking for different stylesheets:
<link rel="stylesheet" href="<?php if ($forum_id == 1) bb_stylesheet_uri(); elseif ($forum_id == 2) echo '/my-templates/kakumei-blue/style.css'; ?>" type="text/css" />
It”s ok on forum but not on topics.
So in my header if I do the routine:
global $topic; echo “$topic->topic_title”; I get the topic title ok but nothing with
global $bb_post; echo “$bb_post->forum_id”;