TinyPortal

Development => International => Turkish => Topic started by: habbili on May 23, 2008, 09:40:16 AM

Title: Menü adlarını değiştirme
Post by: habbili on May 23, 2008, 09:40:16 AM
ArkadaÅŸlar Tinyportala  Cry  tema yükledim.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg165.imageshack.us%2Fimg165%2F715%2Fadszma6.jpg&hash=7fa9fb5390607fa92c4549bc1cfcefb9e8ba9b0d)

Resimde ki gibi 2 tane ana sayfa linki gözüküyor.Ben bunlarının birisini Portal diğerini Forum olarak değiştirmek istiyorum.Bunu nereden yapabilirim.
Şimdiden teşekkürler
Title: Re: Menü adlarını değiştirme
Post by: bbTURK on May 23, 2008, 09:54:22 AM
index.template.php aç
Code (bul) Select
   if (in_array($context['current_action'], array(
Code (sonrasına ekle) Select
'forum',
Code (bul) Select
       // Show the [forum] button.
     echo '<li', $current_action == 'forum' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=forum"><img src="', $settings['images_url'], '/forum.png" alt="', $txt[333], '" title="', $txt[333], '" /><br /><b>' , $txt[103] , '</b></a></li>';

Code (deÄŸiÅŸtir) Select
        // Show the [forum] button.
   echo '<li', $current_action == 'forum' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=forum"><img src="', $settings['images_url'], '/forum.png" alt="', $txt['forum'], '" title="Forum', $txt['forum'], '" /><br /><b>' , $txt['forum'] , '</b></a></li>';

Code (bul) Select
   // Show the [home] button.
   echo '<li', $current_action == 'home' ? ' class="chosen"' : '', '><a href="', $scripturl, '"><img src="', $settings['images_url'], '/homek.png" alt="', $txt[333], '" title="', $txt[333], '" /><br /><b>' , $txt[103] , '</b></a></li>';
Code (deÄŸiÅŸtir) Select
   // Show the [home] button.
   echo '<li', $current_action == 'home' ? ' class="chosen"' : '', '><a href="', $scripturl, '"><img src="', $settings['images_url'], '/homek.png" alt="', $txt[103], '" title="', $txt[103], '" /><br /><b>' , $txt[103] , '</b></a></li>';

aç default/languages-->index.turkish.php
Code (ekle) Select
$txt['forum'] = 'Forum';
Title: Re: Menü adlarını değiştirme
Post by: habbili on May 23, 2008, 10:12:30 AM
Teşekkür ederim harika oldu :)