SimplePortal
Customization => Themes and Graphics => Topic started by: Allan on January 13, 2010, 10:34:17 AM
-
was wondering if i could get some help i'm using the wow-dk theme and having problems getting the forum button working again lol
url= http://acfew.net/guild/index.php
i also attached the index page.I have been thru this before thanks again for all the help
-
What happens if you find...
if (!empty($settings['wow_forum_button']))
{
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '<td class="maintab_off_' . $first . '"> </td>' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '">' , $txt['wow_forum_button_forum'] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '<td class="maintab_off_' . $last . '"> </td>';
}
else
{
// Show the [forum] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '<td class="maintab_off_' . $first . '"> </td>' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '<td class="maintab_off_' . $last . '"> </td>';
}
And change to:
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '<td class="maintab_off_' . $first . '"> </td>' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '">' , $txt['wow_forum_button_forum'] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '<td class="maintab_off_' . $last . '"> </td>';
// Show the [forum] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '<td class="maintab_off_' . $first . '"> </td>' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '<td class="maintab_off_' . $last . '"> </td>';
Please ignore some of the weird spacing in my reply, thats due to a bug in the site here
-
i replaced the code and it took the home button off
thanks for helping
-
i'm updating to smf 2.0 so this can be closed since the theme isn't compatiable
thank you very much for trying to help