Ayuda agregando el boton del mod Arcade.

Started by MDL, November 08, 2010, 05:20:27 PM

Previous topic - Next topic

MDL

He instalado el mod de Arcade a mi foro, y todo bien, solo me ha dado fallo en un archivo pero lo he solucionado mirando el parse.
Todo bien, pero en mi theme actual no se ve el botón, he intentado instalarlo manualmente haciendo esto en el index.template.php:

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

Y agregar despues:
// Show the [arcade] button.
                 echo '
                                        <td valign="top" class="maintab_back">
                                        <a href="http://monkeykong.es/index.php?action=arcade">Arcade</a>
                                        </td>';


Pero el resultado es este:



Como véis se descuadra todo y se ve mal... ¿a que se puede deber? En el default sale bien.

Versión: 1.1.11
Url: www.monkeykong.es

Gracias.

MDL

Ya lo he solucionado, era simplemente esto:

// Show the [arcade] button.
echo '<li><a' , $current_action == 'arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>Arcade</span></a></li>';

Advertisement: