Marcus
Well-known member
Addon2 should only be executed if Addon1 does not output content. How could I do that with Template Modification Replace:
with execution order 10
with execution order 20
How can I do that? Is that possible with hasContent or xen:set?
Code:
<xen:include template="ad_forum_view_above_thread_list" />
Code:
$0
<xen:callback class="Addon1_Callback_ForumView" method="getForumView"
params="{$forum}" />
Code:
$0
<xen:callback class="Addon2_Callback_ForumView" method="getForumView"
params="{$forum}" />
How can I do that? Is that possible with hasContent or xen:set?
Last edited: