News:

Wondering if this will always be free?  See why free is better.

Main Menu

Dodavanje linka

Started by Lopa, April 15, 2012, 03:54:35 AM

Previous topic - Next topic

Lopa

Kako da dodam link u meni za portal SMF koji koristim je 2.0.2


Skipper.

Folder Sources, faj Subs.php
Pronađeš deo koda koji se odnosi na dugmad u meniju a to je ovako nešto
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),

i zameni ga sa ovim kodom
'portal' => array(
                'title' => $txt['portal']='Portal',
                'href' => $url= '$scripturl',
                'show' => true,
                'sub_buttons' => array(
                ),
'is_last' => $context['right_to_left'],
),
'home' => array(
'title' => $txt['home'],
'href' => ?action=forum,
'show' => true,
'sub_buttons' => array(
),
),
It's very simple. Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and—as it always has—rock crushes scissors.

Advertisement: