Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: phpMyTony - helmikuu 15, 2009, 05:23:22 IP

Otsikko: Change name of home button
Kirjoitti: phpMyTony - helmikuu 15, 2009, 05:23:22 IP
How could i change the name of the home button, and make it redirect to the forum.
Also, how could I delete the  other arcade button after?

www.2.tonyperez.biz is the site i wanna do it on. Need fast response.
Otsikko: Re: Change name of home button
Kirjoitti: Yigal - helmikuu 15, 2009, 06:07:15 IP
Hi,

index.template.php
-Change-

// 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>' : '';


to


// Show the [change here] 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>' : '';

Otsikko: Re: Change name of home button
Kirjoitti: phpMyTony - helmikuu 15, 2009, 06:10:08 IP
Thanks for the fast response. You see, thsi forum is 2.0RC1 and I could not find that code in the file.
Otsikko: Re: Change name of home button
Kirjoitti: Yigal - helmikuu 15, 2009, 06:12:46 IP
Oh, you could have mentioned it =)

This isn't the right board yo post this, sorry.

http://www.simplemachines.org/community/index.php?board=147.0
Otsikko: Re: Change name of home button
Kirjoitti: phpMyTony - helmikuu 15, 2009, 06:13:33 IP
Oh yeah, damn, sorry! I was so used to posting in 1.1.x board. Sorry again. Somebody please move this?
Otsikko: Re: Change name of home button
Kirjoitti: Yigal - helmikuu 15, 2009, 06:17:28 IP
That's ok, I think you can just post a new topic in the other board.
Otsikko: Re: Change name of home button
Kirjoitti: phpMyTony - helmikuu 15, 2009, 06:18:21 IP
Okay, cool :)