XF 2.2 Sidenav wrapped around macro

JoyFreak

Well-known member
It seems like <xf:sidenav> doesn't work when wrapped around a macro. How do I achieve this? Thanks.

For example:

Code:
<xf:sidenav>
<div class="block"{{ widget_data($widget) }}>
    <div class="block-container">
        <h3 class="block-minorHeader">{{ $title }}</h3>
        <div class="block-body block-row">
            <xf:macro name="node_list" arg-children="{$nodeTree}" arg-extras="{$nodeExtras}" />
        </div>
    </div>
</div>
</xf:sidenav>
 
Last edited:
Back
Top Bottom