I used this trick on my forum to display different navigation on the left hand side based on which forum you are in. Our site is pretty big. Some of the forums are related to a specific section of our site and we wanted to make it easy to go from, for example, the recipe section of the site to the recipe forum in the forums.
To see what I am talking about, view the recipe forum on our site, and then view the news & current events forum. Visit any post in those forums as well. Notice that they have slightly different navigation based on what forum you are in. Also notice that if you go to the recipe section, it has similar navigation as the recipe forum.
Here is the code that I used for that. It was placed in the header include where I wanted the custom navigation to appear.
<% If intForumID = 1 Then %> <!-- #include virtual=/carnival/include/carnival_menu.asp --> <% End If %> <% If intForumID = 6 Then %> <!-- #include virtual=/news/include/news_menu.asp --> <% End If %> <% If intForumID = 2 Then %> <!-- #include virtual=/recipes/include/recipes_menu.asp --> <% End If %>
|
This is an example and the paths above are fake.
You could do the same thing with your banners as well. Just use the IF THEN statements like I did above and it will work out.
This method works in 7.01. I haven't tested it in 7.5, although the concept would be the same. It should work. I doubt borg would change the name of the variables between 7.01 and 7.5.
I'm upgrading to 7.5 this weekend, so if what I posted above doesn't work in 7.5, I'll let you know.