Advertisement:

Author Topic: Dodavanje linka  (Read 739 times)

Offline Lopa

  • Semi-Newbie
  • *
  • Posts: 17
Dodavanje linka
« on: April 15, 2012, 03:54:35 AM »
Kako da dodam link u meni za portal SMF koji koristim je 2.0.2


Offline Skipper.

  • SMF Hero
  • ******
  • Posts: 2,436
  • Gender: Male
  • Ako si nekom pomogao spremi se da trpiš posledice.
    • FMBalkan on Facebook
    • @FM_Balkan on Twitter
    • FM-Balkan
Re: Dodavanje linka
« Reply #1 on: April 15, 2012, 05:31:31 AM »
Folder Sources, faj Subs.php
Pronađeš deo koda koji se odnosi na dugmad u meniju a to je ovako nešto
Code: [Select]
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
i zameni ga sa ovim kodom
Code: [Select]
'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.