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

» » » » Is it possible to add DLE tags in php file?

Is it possible to add DLE tags in php file?

besoh
besoh 9-01-2017, 08:48
Hello,

Is it possible to add DLE tags in a custom php file such as: [category] text [/category], [xfgiven_x] [xfvalue_x] [/xfgiven_x] etc. and then include this php file in tpl files?
I am tryin to do something like this:

if ($condition) {
    [category] Show my stuff here [/category]
}
Çözüldü İşleme Alındı Çözülemedi
Bilgilendirme
Yorum Ekleyebilmeniz için Sitemize Kayıt Olmanız Gerekmektedir.
0
besoh 19 Şubat 2017 23:28
@MaRZoCHi, thanks for answering.
I was trying the other day to insert some advertising to my website using php and cookies that would display only to certain user groups and only to specific categories. Therefore the necessity to use the tags in php file and include the file in template as is it not possible to add php directly to the template file.
Perhaps it is a solution to include some file from Engine's code which contain the tags, to this new php file?

Thank you!
3 779
MaRZoCHi 3 Şubat 2017 21:29
You can use PHP codes in tpl but it'll a security problem. What you need, explain. Maybe we can solve with another methods.

--------------------