Datalife Engine Türkçe Yama İndir

Datalife Engine 14.0

  • Temalara yeni taglar eklendi ve geliştirildi
  • Yeni AirPlay medya oynatıcısı eklendi
  • 1500 adet yeni ifade (emoji) eklendi

Github'dayız

Kendi yapımımız olan modüllerin neredeyse tamamını ücretsiz olarak Github üzerinden yayımladık. Sadece bu modüller için "destek" verilecektir.

We are on Github

Almost all of our own modules have been released free of charge via Github. We support only these modules

» » Relatednews.tpl'de catlist kullanımı

Relatednews.tpl'de catlist kullanımı

Benzer makaleler için catlist kullanımı desteklenmiyordu. Bu küçük düzenleme ile catlist kullanımını aktif edebilirsiniz.

Dosya: engine/modules/show.full.php

Bul :
$related_buffer = $tpl2->result['content'];


Üstüne ekle :
// catlist on relatednews
if( strpos( $tpl2->copy_template, "[catlist=" ) !== false ) {
	$tpl2->result['content'] = preg_replace_callback ( "#\\[(catlist)=(.+?)\\](.*?)\\[/catlist\\]#is", "check_category", $tpl2->result['content'] );
}
						
if( strpos( $tpl2->copy_template, "[not-catlist=" ) !== false ) {
	$tpl2->result['content'] = preg_replace_callback ( "#\\[(not-catlist)=(.+?)\\](.*?)\\[/not-catlist\\]#is", "check_category", $tpl2->result['content'] );
}
// catlist on relatednews


DLE 10.3 sürümü ile eklenen "Aynı kategorideki benzer konuları göster" özelliği ile birlikte kullanabileceğiniz catlist tagı sayesinde kategoriye göre değişen benzer makaleler görünümü tasarlayabilirsiniz.

Catlist kullanımı :
[catlist=ID][/catlist]
[not-catlist=ID][/not-catlist]


Yapımcı: Mehmet Hanoğlu
Kaynak: https://dle.net.tr
Bilgilendirme
Yorum Ekleyebilmeniz için Sitemize Kayıt Olmanız Gerekmektedir.
0
Cibril 31 Temmuz 2015 15:52
Benzer makalelerin alt alta değilde yan yana gözükmesini istiyorum. Nasıl olur?
0
dlestarter 2 Aralık 2014 07:11
Thank you for nice tutorial...alternatively you can use {custom} in fullstory.tpl and you can even use sorting as standard tag
{custom id="1,2,5-8" category="2,3,5-8" author="x" days="x" template="custom" aviable="showfull" navigation="no" from="0" limit="10" fixed="yes" order="date" cache="yes"}

And yes the option you have mentioned "Search for similar article only in the same categories as the news" is great feature to use alternatively with your tutorial, but this feature was actually added in DLE 10.1 just to be clear, therefore, this option is available in 10.1, 10.2 and 10.3...

Thanks, nice tutorial as always!
0
rnajans 20 Kasım 2014 19:04
ileriki projelerde bana yardımcı olabilecek bir eklenti teşekkürler.
deneme bonusu veren siteler