XF 2.3 Put the Post Thread button on What's New?

beerForo

Well-known member
So my What's New page is actually my homepage and I'd like the Post Thread button to be at the top right since I'm using it as my homepage. Any help appreciated.
 
Solution
So my What's New page is actually my homepage and I'd like the Post Thread button to be at the top right since I'm using it as my homepage. Any help appreciated.

OR in a widget since I am using the sidebar.

I use this in an html widget:

Code:
<a class="button" href="/forums/-/create-thread" data-xf-click="overlay"><xf:fa icon="fa-edit" aria-hidden="true" />&nbsp;Post Thread</a>

I use display condition in the widget $xf.visitor.isMemberOf(2) to make it only visible to registered user group.
So my What's New page is actually my homepage and I'd like the Post Thread button to be at the top right since I'm using it as my homepage. Any help appreciated.

OR in a widget since I am using the sidebar.

I use this in an html widget:

Code:
<a class="button" href="/forums/-/create-thread" data-xf-click="overlay"><xf:fa icon="fa-edit" aria-hidden="true" />&nbsp;Post Thread</a>

I use display condition in the widget $xf.visitor.isMemberOf(2) to make it only visible to registered user group.
 
Solution
Back
Top Bottom