main forum image link change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravelink69
    New Member
    • May 2008
    • 11
    • 3.7.x

    main forum image link change

    How do i change the address of the main forum image? currently when i click on the forum logo at the top left of the screen it goes to the index of the forums. I want to change that to go back to my main website when its clicked on.


    Thanks
  • choccyclaire
    Senior Member
    • Jan 2008
    • 333

    #2
    Styles and Templates -> Select a style -> All Style Options -> Header

    Edit part of the code highlighted red below:

    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="$stylevar[left]"><a href=[COLOR="Red"]"$vboptions[forumhome].php$session[sessionurl_q]"[/COLOR]><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    	<td align="$stylevar[right]" id="header_right_cell">
    		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    
    $ad_location[ad_header_end]
    If you want it to link to your home page, you would put something like this.

    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="1" width="98%" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="center"><a href="$vboptions[COLOR="Red"][homeurl][/COLOR].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    	
    		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    <script type="text/javascript" src="http://www.makepovertyhistory.org/whiteband_small_right.js"></script>
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    
    $ad_location[ad_header_end]

    Comment

    • ravelink69
      New Member
      • May 2008
      • 11
      • 3.7.x

      #3
      awesome, that worked except that i forgot to take the .php out after that but i got it sorted, thank you very much

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎