[RSS Feed/News] parent details in template modification with PHP Callback?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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:

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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom