XF 2.2 add href target to a template

Kleazy

Active member
I am seeking help adding target="_top" to the href in the template forum_overview_wrapper

Code:
<xf:button href="{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}" icon="bolt">
            {{ phrase('new_posts') }}
        </xf:button>


Background: I am playing with a custom widget in an iframe situation. I want to kill the framing when the users click the link without opening a new tab or window.
 
Back
Top Bottom