Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Topic started by: DarkNiz on August 01, 2008, 10:53:42 PM

Title: Como Agregar....??¿¿¿[Solucionado]
Post by: DarkNiz on August 01, 2008, 10:53:42 PM
Pues veran kiero saber si ay alguna opcion de poder agregar el portal del foro a la barra de navegacion ??? ???

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg80.imageshack.us%2Fimg80%2F5922%2Fdibujoud0.jpg&hash=c41474ee16504b7d51e9d77041a9fcf839be7026)

AKI DEJO LA RUTA DE LA IMAGEN PARA QUE LA VEAN MAS GRANDE

http://img80.imageshack.us/img80/5922/dibujoud0.jpg


Title: Re: Como Agregar....??¿¿¿
Post by: JCS on August 01, 2008, 10:55:29 PM
si claro, edite el inedx.template.php de su theme
Title: Re: Como Agregar....??¿¿¿
Post by: DarkNiz on August 01, 2008, 10:59:19 PM
lo edito pero que parte se supone que voy a editar....
Title: Re: Como Agregar....??¿¿¿
Post by: JCS on August 01, 2008, 11:25:00 PM
mmm eso no lo se ^^, q tema estas usando?
Title: Re: Como Agregar....??¿¿¿
Post by: DarkNiz on August 01, 2008, 11:26:21 PM
el tema se llama Kelo-It

Title: Re: Como Agregar....??¿¿¿
Post by: JCS on August 01, 2008, 11:57:45 PM
en el archivo q nombre antes, busca esta linea:

// Start of the tab section.

después de eso veras los links q se muestran en la navbar, te recomiendo dejar el link al portal al principio en vez de al final como tienes en la img, entonces el codigo seria el siguiente

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


Agrega antes:
    // Link al portal
    echo ($current_action=='portal' || $context['browser']['is_ie4']) ? '' : '' , '
    <li class="' , $current_action == 'portal' ? 'current' : '' , '"><a href="http://www.otakumi.net">Portal</a></li>';


reemplaza www.otakumi.net por la url de tu portal, dejo esa url para recordarte q debes usar el http://

bueno, pues no es la mejor manera :P, pero es lo mas facil para hacer lo q quieres

Salu2
Title: Re: Como Agregar....??¿¿¿
Post by: DarkNiz on August 02, 2008, 12:02:48 AM
Listo re facil gracias jeje...

PostData: si lo que keria al principio solo que no tenia espacio para poner lo que keria hacer y y se me olvido decirte jeje

Deberas muchas gracias jeje.. ;D ;D ;D ;D
Title: Re: Como Agregar....??¿¿¿
Post by: JCS on August 02, 2008, 12:07:33 AM
jaja pues no hay de q, ahora pon [Solucionado] al titulo del tema ^^


Salu2
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: DarkNiz on August 02, 2008, 12:11:53 AM
Listo y de nuevo GRACIAS ;D ;D ;D
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: ElDon on August 03, 2008, 10:17:49 AM
el mio es este y no logro hacerlo.

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

Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: JCS on August 03, 2008, 02:18:19 PM
q theme es el q usas?, así lo instalo y te digo exactamente como hacerlo ^^
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: ElDon on August 03, 2008, 02:19:01 PM
defaul_modern, Gracias de antemano por la ayuda.
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: JCS on August 03, 2008, 02:35:33 PM

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


Agrega antes:
    // Boton al portal
    echo ($current_action=='portal' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'portal' ? 'active_back' : 'back' , '">
                    <a href="http://www.otakumi.net">Portal</a>
                </td>' , $current_action == 'portal' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


reemplaza www.otakumi.net (http://www.otakumi.net) por la url de tu portal, dejo esa url para recordarte q debes usar el http://
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: ElDon on August 03, 2008, 02:43:07 PM
tube un problema, cunado pulso el boton no se me queda como pulsado como los otros, Gracias hermano de verdad de mucho sirvio a ver si podemos hacer lo que digo y disculpe la molestia.
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: JCS on August 03, 2008, 03:05:02 PM
puedes pasarme la url de tu web por favor
Title: Re: Como Agregar....??¿¿¿[Solucionado]
Post by: ElDon on August 03, 2008, 04:11:36 PM
claro que si, elmejorp2m.com