Anyone here using SMF Forums?. Quick question!!

Soldato
Joined
4 Feb 2004
Posts
13,430
Location
Écosse
Using SMF 1.1.4 for a customers website.

Looking to have a way of them being able to "click" on the top banner of the site that will return them to the url of their main website.

I've had a look within the index.template.php file, but I can't see clearly what to change code wise in there to achieve this.

Any quick fixes?. I'm more used to phpBB and although similar, SMF is confuzzing me a little on this issue. :confused:

Thanks in advance.
 
You need to edit index.template.php from the currently used theme folder.
Additions in yellow...

Code:
// The logo, user information, news, and menu.
	echo '
	<table cellspacing="0" cellpadding="0" border="0" align="center" width="95%" class="tborder">
		<tr style="background-color: #ffffff;">
			<td valign="middle" align="left">[COLOR="Yellow"]<a href="HOMEPAGEURL" target="_blank">[/COLOR]<img src="', !empty($settings['header_logo_url']) ? $settings['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" />[COLOR="Yellow"]</a>[/COLOR]</td>
			<td valign="middle">';
 
Back
Top Bottom