Inserir botão de menu smf

Iniciado por candidosa2, 03 de Fevereiro de 2010, 16:36

Tópico anterior - Tópico seguinte

0 Membros e 2 Visitantes estão a ver este tópico.

candidosa2


Subs.php
Pesquisar
      $buttons = array(
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


Adicionar por baixo
'novobuton' => array(
            'title' => 'novobuton',
            'href' => 'http://www.smfpt.net',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


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
// 'target' => '_blank',
),


Seguinte código

'smfpt' => array(
    
'title' => 'Smfpt',
    
'href' => 'http://www.smfpt.com',
    
'show' => true,
    
'sub_buttons' => array(
    ),
   ),