News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Problema con agregar boton a un theme

Started by lechhack, August 30, 2009, 04:54:18 AM

Previous topic - Next topic

lechhack

Estoy utilizando el theme musiconian y al poner esto // Show the [Maquetas] button.
if ($context['user']['is_logged'])
   echo   '<li><a href="http://www.pikline.com/index.php?action=mgallery">Maquetas</a></li>';

y me sale arriba de inicio os dejo el index.template

vicram10

si te fijas en tu theme tienes de esta forma los botones

// Show the [home] button.
echo '
<td class="mainnav"><a href="', $scripturl, '">' , $txt[103] , '</a></td>';


y tu lo agregas asi

// Show the [Maquetas] button.
if ($context['user']['is_logged'])
   echo   '<li><a href="http://www.pikline.com/index.php?action=mgallery">Maquetas</a></li>';


Por lo que esta mal..

deberia ser asi

// Show the [Maquetas] button.
if ($context['user']['is_logged'])
   echo   '<td class="mainnav"><a href="http://www.pikline.com/index.php?action=mgallery">Maquetas</a></td>';


prueba y dinos luego

salu2

lechhack


vicram10

de nada, marcalo como solucionado a tu tema, y colocale el icono de topic solved..

salu2

Advertisement: