Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: jheroen on January 23, 2007, 05:26:17 AM

Title: can;t find on how to remove the blue header.....
Post by: jheroen on January 23, 2007, 05:26:17 AM
Hi all!
i am busy making a new forum in a joomla site, i want to remove the blue header with the forumname and the smf logo completely, you can see what i mean here: http://www.chelloo.com/forum/index.php you see that the header here has completely gone. i tried several tips on the forum but none helped.
i have the latest smf installed with joomla bridge by joomla hacks.
i use the SMF enhanced forumtheme. i hope someone has the answer for me!
TIA
???
Title: Re: can;t find on how to remove the blue header.....
Post by: KGIII on January 24, 2007, 07:19:54 AM
It appears as if you have found it.

I just noticed this post. Anyhow, I removed this code from the index.template.php:


echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>'
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>
';


It went away and didn't seem to make anything go wrong.