Advertisement:

Author Topic: Megapolis tema pomoć  (Read 1073 times)

Offline zolee

  • Semi-Newbie
  • *
  • Posts: 19
Megapolis tema pomoć
« on: July 27, 2010, 12:26:44 PM »
kako da u Megapolis temi dodam novi tab za početnu stranicu

Offline Skipper.

  • SMF Hero
  • ******
  • Posts: 2,437
  • Gender: Male
  • Ako si nekom pomogao spremi se da trpiš posledice.
    • FMBalkan on Facebook
    • @FM_Balkan on Twitter
    • FM-Balkan
Re: Megapolis tema pomoć
« Reply #1 on: July 27, 2010, 12:54:11 PM »
Koja verzija foruma je u pitanju?
Pročitaj pravila.
Koristi pretragu pisalo se milion puta o tome.

Otvori Index.template.php tvoje teme i nađi ovaj kod

Code: [Select]
// Show the [home] button.
   echo '<li', $current_action == 'home' ? ' class="current_page"' : '', '><a href="', $scripturl, '">' , $txt['home'] , '</a></li>';

Pre njega dodaj ovaj kod

Code: [Select]
// Show the [Naslovna] button.
   echo   '<li><a href="http://fm-balkan.com/index.php?action=forum#" class="kwick opt3"><span>Forum</span></a></li>';

U kodovima samo zameni moje podatke tvojima.

Ako koristiš 2.x verziju onda traži u fajlu Subs.php
      

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.

Offline Masterd

  • SMF Hero
  • ******
  • Posts: 3,926
  • Gender: Male
Re: Megapolis tema pomoć
« Reply #2 on: July 27, 2010, 02:06:39 PM »
Za verziju 2.0 probaj ovo.

Offline zolee

  • Semi-Newbie
  • *
  • Posts: 19
Re: Megapolis tema pomoć
« Reply #3 on: August 03, 2010, 05:32:57 AM »
u redu radi se o SMF 1.1.11


EDIT: neradi
« Last Edit: August 03, 2010, 05:38:43 AM by zolee »

Offline Masterd

  • SMF Hero
  • ******
  • Posts: 3,926
  • Gender: Male
Re: Megapolis tema pomoć
« Reply #4 on: August 03, 2010, 06:17:54 AM »
Potraži ovo:

Code: [Select]
   // Show the start of the tab section.