SimplePortal

Support => International Support => Spanish => Topic started by: sebas on April 18, 2010, 03:08:38 AM

Title: SP en Yabb SE theme.
Post by: sebas on April 18, 2010, 03:08:38 AM
eso, está un poco confuso modificar todo el index.template del theme yabb se, para que funcione simple portal.

adjunto en index.template para que lo vean.

smf 1.1.11 - sp 2.3.2

hasta ahora no pude hacer ningún cambio en ell index.template, bastante diferente a theme default.  :(

Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 20, 2010, 11:10:33 AM
prueba con este
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 20, 2010, 12:13:35 PM
hola 130860, me tira un error:

Parse error: syntax error, unexpected ',' in /home/miusuario/public_html/Themes/classic/index.template.php  on line 304
Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 20, 2010, 12:18:25 PM
ok, prueba con este
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 20, 2010, 12:28:24 PM
sale el mismo error.
Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 20, 2010, 12:51:16 PM
ok este
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 20, 2010, 12:56:34 PM
no da error, pero no aparece el boton "Foro" jaja

Gracias por la ayuda.
Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 20, 2010, 12:59:24 PM
link a tu foro?


el theme usa imagenes por lo que tendras que hacer una imagen llamada forum.gif
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 20, 2010, 08:21:24 PM
jaja si seré bol, me olvide de la imágen, ahora me fijo y confirmo.

edito:

Sigue sin aparecer el boton, ya puse la imágen y todo.

mi comu es la de la firma, bandangosta.... pero no tengo activada la página frontal por éste motivo
Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 21, 2010, 10:56:21 AM
en tu archivo index.template.php   busca y borra esto:


if (empty($context['disable_sp']) && in_array($modSettings['sp_portal_mode'], array(1, 3)))


tu imagen debe de estar en

http://www.bandangosta.com.ar/Themes/classic/images/spanish_es-utf8/forum.gif
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 21, 2010, 03:07:26 PM
ahora si aparece, pero siempre, si desactivo simple portal igual sale el boton foro.
Title: Re: SP en Yabb SE theme.
Post by: 130860 on April 21, 2010, 06:05:25 PM
eso es porque quitaste la parte de codigo que lo controla:

if (empty($context['disable_sp']) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
Title: Re: SP en Yabb SE theme.
Post by: sebas on April 23, 2010, 07:29:08 PM
si ya me lo habia imaginado, gracias  130860. Lo marco como resuelto.

saludos.
SimplePortal 2.3.8 © 2008-2024, SimplePortal