News:

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

Main Menu

Agregar un boton al Menu

Started by claikodelico, July 08, 2008, 02:04:54 PM

Previous topic - Next topic

claikodelico

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

claikodelico

Quiero agregar un boton que diga otra cosa y que enlace a otro lugar

~BeneKiD

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>';
Quote from: http://www.territoriodd.com
TERRITORIODD.com Descargas Directas de las ISOS, CSO y ROMS de PSP NDS Wii X360, PELICULAS, SERIES MUSICA y SOFTWARE... Todo lo necesario totalmente GRATIS!!

-PS3
-Playstation Portable
-Nintendo DS
-Nintendo Wii
-Xbox 360
-iOS & Android


HTTP://WWW.TERRITORIODD.COM
Quote from: Visitanos!

Advertisement: