xfrm_resource_wrapper_macros:: tabs is called with
<xf:macro id="tabs" arg-resource="!" arg-selected="!">
with $resource.Discussion we know $thread from that thread_id we have saved in $resource.
This template is shown on a typical thread page when there is a resource.
But I need to know the var $thread from my thread itself and not $resource.Discussion from $resource
while in my concept it is not always the same.
<xf:macro id="tabs" arg-resource="!" arg-selected="!">
with $resource.Discussion we know $thread from that thread_id we have saved in $resource.
This template is shown on a typical thread page when there is a resource.
But I need to know the var $thread from my thread itself and not $resource.Discussion from $resource
while in my concept it is not always the same.
Last edited: