SMF 2.0.x (Módulos Manual) > Buttons
Inserir botão de menu smf
(1/1)
candidosa2:
Subs.php
Pesquisar
--- Código: --- $buttons = array(
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
),
--- Fim de Código ---
Adicionar por baixo
--- Código: ---'novobuton' => array(
'title' => 'novobuton',
'href' => 'http://www.smfpt.net',
'show' => true,
'sub_buttons' => array(
),
),
--- Fim de Código ---
candidosa2:
Bem testado no smf 2.0 Funciona a 100%
Sources\Subs.php
Pesquisar por
'home' => array(
Conforme a imagem
colocar no fim do codigo
--- Código: --- // 'target' => '_blank',
),
--- Fim de Código ---
Seguinte código
'smfpt' => array(
'title' => 'Smfpt',
'href' => 'http://www.smfpt.com',
'show' => true,
'sub_buttons' => array(
),
),
Navegação
Ir para versão completa