PDA

View Full Version : Different header logo for Forum, Blog, Calendar, etc


rokslide
11-17-2011, 06:07 PM
Please help! I can't seem to find the answer to this anywhere?

I have several different setions, the Forum, the CMS Home, the Calendar and Whats New, etc. I would like to have a different header logo for each page. The only thing I can find is the Header Template, but it calls for the same image for all sections. Any ideas? I am new to this and really appreciate any help. Any code to help with this?

Thanks in advance

LifesGreatestGift
11-19-2011, 02:28 PM
you can use A LOT of conditionals :)

if this script==CMS
CMSIMAGE
elseif this script==CALANDER
CALANDERIMAGE
elseif this script ==SEARCH <!--whats new -->
SEARCHIMAGE
elseif this script ==FORUMHOME
FORUMHOMEIMAGE
elseif this script==FORUM
img src="/images/forum_ids/forum_{forum.id}.jpg"
else
IMAGEFOREVERYTHINGELSE
</vb:if>

something to that extent. that is an idea, not actual code. but with my example it could easily be done. and in the forum_ids folder have an image for each forum labelled forum_# with the # being the id of the forum.