SimplePortal

Support => International Support => Turkish (Türkçe) => Topic started by: reddragon344 on October 30, 2008, 08:55:17 AM

Title: Outline Tema İçin Simple Portal
Post by: reddragon344 on October 30, 2008, 08:55:17 AM
Slm arkadaşlar Siteme Simple Portal yükledim Tema farklı oldugu icin paketi kurduktan sonra Kullandıgım tema içindeki index.template.php dosyasını manuel olarak düzenledim ama resimdeki gibi Anasayfa butonu düzgün ama yanındaki Forum butonu arka planı kayıp
(http://resimekle.gen.tr/uploads/aT371495.png)

2. sorun ise Login veya Logout oldugu zaman Foruma yönlediriyor ben anasayfaya yönlenmesini istiyorum nasıl yapabilirim.

Title: Re: Acil Yard?m
Post by: asude on October 31, 2008, 07:35:57 AM
E?er index.template.php dosyan?z? göremezsek bir çözüm önerisinde bulunamay?z.

?kincisi sorunuz için ise, Subs.php dosyan?zda a?a??daki kodu silmelisiniz:

Code: [Select]
//We need the empty redirect for the smf portal go to the action=forum site =)
if((empty($setLocation) || $scripturl == $setLocation) && !empty($modSettings['portalactive']))
$setLocation = 'action=forum';

Ayr?ca daha aç?klay?c? ba?l?klar kullanman?z? öneriyorum.
Title: Re: Acil Yardım
Post by: reddragon344 on October 31, 2008, 12:23:16 PM
index.template


bunuda hallederseniz cok cok tşkrler şimdi 2. problemi deniycem
Title: Re: Acil Yardım
Post by: reddragon344 on October 31, 2008, 12:36:18 PM
2.si işe yaradı çok tşkrler
Title: Re: Acil Yard?m
Post by: asude on October 31, 2008, 01:03:45 PM
SMF'e ait dosyalar?n umuma aç?k sunucularda da??t?lmas? yasakt?r, lütfen ba?lant?y? kald?r?n.

Bul:

Code: [Select]
if(!empty($context['portalactive']))
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">'.$txt['sp-forum'].'</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_last"> </td>' : '';

De?i?tir:

Code: [Select]
if(!empty($context['portalactive']))
        echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>' , $txt['sp-forum'] , '</span></a></li>';
Title: Re: Acil Yardım
Post by: reddragon344 on October 31, 2008, 02:06:38 PM
tşkr. ederim asude son bir soru bu forum açtığın anketleri anasayfada bir kösede gösterme imkanı varmı ?
Title: Re: Outline Tema ?çin Simple Portal [Çözüldü]
Post by: asude on November 01, 2008, 07:17:34 AM
Anket Bloku'nu kullanabilirsiniz.
SimplePortal 2.3.8 © 2008-2024, SimplePortal