SMFPT - Suporte e Manutenção de Fórum em Português

Customizing SMF => Modificações e Pacotes => New Feature => Tópico iniciado por: candidosa2 em 24 de Novembro de 2007, 09:32

Título: SMF Quick Theme Changer
Enviado por: candidosa2 em 24 de Novembro de 2007, 09:32
Nome: SMF Quick Theme Changer
Arquivo: SMF_Quick_Theme_Changer_1.0.0.zip  em En
Arquivo:mudar rapido.zip em Pt
Autor da Tradução: Candidosa2 ( http://candidosa2.apllic.net )
Tradução: Pt-Pt
Tradução: Pt-Br ainda não disponível
Versões: várias versões e as actuais, 1.1.2,1.1.3 E 1.1.4
Download em En - http://custom.simplemachines.org/mods/index.php?mod=746
download em Pt  - attach

Testado com tema default Funciona 100%
Título: Re: SMF Quick Theme Changer
Enviado por: silva55 em 18 de Dezembro de 2007, 14:57
o que e necessario para aplicar a outros themas?
Título: Re: SMF Quick Theme Changer
Enviado por: candidosa2 em 19 de Dezembro de 2007, 08:23
Tem que instalar depois ir em cada tema alem do default colocar manualmente
no index.template.php de cada tema...

pode ver nas imagens exemplo

(http://i211.photobucket.com/albums/bb184/candidosa2/sshot-4-20.png)

(http://i211.photobucket.com/albums/bb184/candidosa2/sshot-5-15.png)

(http://i211.photobucket.com/albums/bb184/candidosa2/sshot-6-14.png)

o código que tem que colocar noutros temas e este

Código: [Seleccione]
<!-- // Quick Theme Changer Start -->
<tr>
<td colspan="3" style="text-align: left;">
<select name="quick_theme_changer" onchange="quick_theme_changer(this)">
<optgroup label="', $txt['quick_theme_changer'], '">';
foreach ($context['themes'] as $theme)
{
echo '<option value="', $theme['id'], '"', (($settings['theme_id'] == $theme['id']) ? ' selected' : ''), '>', $theme['name'], '</option>';
}
echo '</optgroup>
</select>
</td>
</tr>
<!-- // Quick Theme Changer End -->

Mais antes tem que pesquisar por // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!

colocar depois do código 
Código: [Seleccione]
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
Qualquer dificuldades coloca ai...