ArnyVee Well-known member Mar 25, 2012 #1 I wanted to see how to go about showing separate logos based on the forum and/or usergroups (show a certain logo to guests another to members). I have seen some for the header or backgrounds, but not the logos.
I wanted to see how to go about showing separate logos based on the forum and/or usergroups (show a certain logo to guests another to members). I have seen some for the header or backgrounds, but not the logos.
Jake Bunce Well-known member Mar 26, 2012 #2 To change the title image edit this template: Admin CP -> Appearance -> Templates -> logo_block Replace the red code with your custom conditions: Rich (BB code): <div id="logoBlock"> <div class="pageWidth"> <div class="pageContent"> <xen:include template="ad_header" /> <xen:hook name="header_logo"> <div id="logo"><a href="{$logoLink}"> <span><xen:comment>This span fixes IE vertical positioning</xen:comment></span> <img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" /> </a></div> </xen:hook> <span class="helper"></span> </div> </div> </div> Here is a condition for the forumid: Rich (BB code): <xen:if is="{$forum.node_id} == 3"> <img src="path/for/forumlogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> And for guests vs members: Rich (BB code): <xen:if is="{$visitor.user_id}"> <img src="path/for/memberlogo.gif" alt="{$xenOptions.boardTitle}" /> <xen:else /> <img src="path/for/guestlogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> For groups: Rich (BB code): <xen:if is="{xen:helper ismemberof, $visitor, 4}"> <img src="path/for/grouplogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> You can mix and match. Upvote 0 Downvote
To change the title image edit this template: Admin CP -> Appearance -> Templates -> logo_block Replace the red code with your custom conditions: Rich (BB code): <div id="logoBlock"> <div class="pageWidth"> <div class="pageContent"> <xen:include template="ad_header" /> <xen:hook name="header_logo"> <div id="logo"><a href="{$logoLink}"> <span><xen:comment>This span fixes IE vertical positioning</xen:comment></span> <img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" /> </a></div> </xen:hook> <span class="helper"></span> </div> </div> </div> Here is a condition for the forumid: Rich (BB code): <xen:if is="{$forum.node_id} == 3"> <img src="path/for/forumlogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> And for guests vs members: Rich (BB code): <xen:if is="{$visitor.user_id}"> <img src="path/for/memberlogo.gif" alt="{$xenOptions.boardTitle}" /> <xen:else /> <img src="path/for/guestlogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> For groups: Rich (BB code): <xen:if is="{xen:helper ismemberof, $visitor, 4}"> <img src="path/for/grouplogo.gif" alt="{$xenOptions.boardTitle}" /> </xen:if> You can mix and match.
ArnyVee Well-known member Sep 19, 2012 #3 Jake Bunce said: ... Click to expand... Jake, would it be possible to have the logo image changed to a mapped image and it link correctly? The reason I ask is because I assume that the entire image would still link to the 'home' link. Thoughts? Upvote 0 Downvote
Jake Bunce said: ... Click to expand... Jake, would it be possible to have the logo image changed to a mapped image and it link correctly? The reason I ask is because I assume that the entire image would still link to the 'home' link. Thoughts?
Kintaro Well-known member Sep 19, 2012 #4 ArnyVee said: I wanted to see how to go about showing separate logos based on the forum and/or usergroups (show a certain logo to guests another to members). I have seen some for the header or backgrounds, but not the logos. Click to expand... For the "based on nodes" there's a resource from jaxel Upvote 0 Downvote
ArnyVee said: I wanted to see how to go about showing separate logos based on the forum and/or usergroups (show a certain logo to guests another to members). I have seen some for the header or backgrounds, but not the logos. Click to expand... For the "based on nodes" there's a resource from jaxel
Jake Bunce Well-known member Sep 19, 2012 #5 ArnyVee said: Jake, would it be possible to have the logo image changed to a mapped image and it link correctly? The reason I ask is because I assume that the entire image would still link to the 'home' link. Thoughts? Click to expand... You can insert HTML for an image map by editing the logo_block template directly. Upvote 0 Downvote
ArnyVee said: Jake, would it be possible to have the logo image changed to a mapped image and it link correctly? The reason I ask is because I assume that the entire image would still link to the 'home' link. Thoughts? Click to expand... You can insert HTML for an image map by editing the logo_block template directly.