Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Topic started by: claikodelico on July 08, 2008, 02:04:54 PM

Title: Agregar un boton al Menu
Post by: claikodelico on July 08, 2008, 02:04:54 PM
Hola, simplemente deseo saber como puedo modificar o mas bien dicho AGREGAR un boton extra en mi barra de menu, el codigo por cada boton es este

// Show the [home] button.
   echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="mainNav-home"><a href="', $scripturl, '">' , $txt[103] , '</a></li>' , $current_action == 'home' ? '' : '';

ya diseñe la imagen igual al boton que actualmente tiene, pero quiero agregar otros dos botones, quisiera que me informaran que tengo que modificar para que realice otra accion y a su ves se coloque la imagen que diseñe.

el tema que tengo es Aa_New_Damage:  http://www.webtechnica.net/themes/aa_new_damage.php

Muchas gracias por su ayuda
Title: Re: Agregar un boton al Menu
Post by: claikodelico on July 09, 2008, 12:24:33 AM
Quiero agregar un boton que diga otra cosa y que enlace a otro lugar
Title: Re: Agregar un boton al Menu
Post by: ~BeneKiD on July 09, 2008, 12:32:30 AM
En tu theme seria así buscas en el index.templante.php


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

y justo abajo añades...


// Show the [TEXTO] button.
   echo   '<li><a href="', $scripturl, '?action=texto">'AQUI LO QUE QUIERAS'</a></li>';