• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

parent details in template modification with PHP Callback?

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Hi,

So I have a template modification on the thread_view, this modification uses the PHP Callback method.

In my original code, when It was a straight replacement, I was able to use certain variables and arrays from the parent thread.

Something like

Code:

کد:
$0
<xf:if is="{$thread.thread_id}>58086">
    <xf:if is="{$thread.prefix_id}=={$xf.options.stgame_prefix}">
        <xf:include template="st_gamethread"></xf:include>
    </xf:if>
</xf:if>

However now that I am using a callback...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا