SimplePortal

Support => International Support => Spanish => Topic started by: iroNikK on February 04, 2010, 02:38:27 PM

Title: Help. Buttons on portal [SMF 2.0 RC2]
Post by: iroNikK on February 04, 2010, 02:38:27 PM
i try to add buttons and editing Subs.php en.php index_english but look

(http://i45.tinypic.com/vza1p1.jpg)

attached subs.php and index spanish es
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: ccbtimewiz on February 04, 2010, 03:00:47 PM
Please attach your index.template.php file. :)
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: iroNikK on February 04, 2010, 03:16:32 PM
index temaplte of my theme
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: ccbtimewiz on February 04, 2010, 05:16:57 PM
This is an SMF 2.0 template file, yet your profile states you're using SMF 1.1.10. Please ensure that the version of SMF you're using is reflected in your profile properly!

The issue is that all the custom strings you made do not exist. Make sure they exist in a language file (index.language.php)
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: iroNikK on February 04, 2010, 07:16:13 PM
so, what do i have to do?


 my web (http://nizagames.com.ar/foro)
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: 130860 on February 05, 2010, 02:29:46 PM
@iroNikK  please post your issue on the spanish board (http://simpleportal.net/index.php?board=37.0)   also   make sure you have the necessary strings for this part:

Code: [Select]
'Guias' => array(
              'title' => $txt['guias'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page4565',
              'show' => true,
              'sub_buttons' => array(
        ),
  ),

'Descargas' => array(
              'title' => $txt['descargas'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),
    ),
                  'Servers' => array(
              'title' => $txt['servers'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),


$txt['guias']
$txt['servers']
$txt['descargas']


you have to put this strings in your /themes/default/languages/index.your_language.php 



$txt['guias']
$txt['servers']
$txt['descargas']

estas strings no existen en tu archivo  /themes/default/languages/index.your_language.php    agregalas, borra tu cache  admin/mantenimiento/cache  y vuelve a intentarlo, si solo usas español puedes reemplazar esto:

'title' => $txt['guias'],

por esto:

'title' => 'Guías',
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: iroNikK on February 05, 2010, 04:26:58 PM
Quote

$txt['guias']
$txt['servers']
$txt['descargas']

estas strings no existen en tu archivo  /themes/default/languages/index.your_language.php


Si estan..

index.spanish_es.php
Code: [Select]
$txt['Guias'] = 'Guias';
$txt['descargas'] = 'Descargas';
$txt['Servers'] = 'Servers';
$txt['Memberss'] = 'Members';
$txt['Alquiler'] = 'Alquiler de Admin';

Subs.php
Code: [Select]
'Guias' => array(
              'title' => $txt['guias'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page4565',
              'show' => true,
              'sub_buttons' => array(
        ),
  ),

'Descargas' => array(
              'title' => $txt['descargas'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),
    ),
                  'Servers' => array(
              'title' => $txt['servers'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),
    ),
                 'Members' => array(
              'title' => $txt['memberss'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),
    ),
                 'Alquiler de Admin' => array(
              'title' => $txt['alquiler'],
              'href' => 'http://nizagames.com.ar/foro/index.php?page=page1548',
              'show' => true,
              'sub_buttons' => array(
        ),
    ),

te los dejo adjunto..

capaz hay algun error que en mi foro esta otro idioma, pero no creo porque lo tnego todo en castellano y dice "idioma : Spanish Es"...
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: 130860 on February 06, 2010, 09:45:34 PM
tus archivos parscen estar bien, borra el cache de tu foro, ve a admin/ mantenimiento / cache  y borralo, si eso no funciona pon directamente las palabras en lugar de los strings, asi:

'title' => $txt['descargas'],


reemplazalo por esto:

'title' => 'Descargas',
Title: Re: Help. Buttons on portal [SMF 2.0 RC2]
Post by: iroNikK on February 07, 2010, 05:26:34 PM
Solucionado.
Borre el cache y no pase nada.


pero reemplaze el 'title' => 'Descargas', y listo.
graciass
SimplePortal 2.3.8 © 2008-2024, SimplePortal