Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

SOLVED: Replace the 'Home' link with custom URL

Aloittaja Moif, elokuu 08, 2006, 11:15:40 AP

« edellinen - seuraava »

Moif

Hi gang,

As the topic states I would like to have the 'Home' link take users back to a designated URL when they click it.

Can anyone advise me on how to go about this? Thanks.

I'm presuming it's somewhere in here:


// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



Moif

Sorted it :)

basically I changed


<a href="', $scripturl, '">


to


<a href="http://www.websitegoeshere.co.uk">


:D



Advertisement: