Morrus Member Aug 15, 2019 #1 I figure a widget would be the easy way to do it, so I could add the button to locations like the Xenporta front page, "What's new?", and other locations. What code would I need in the widget to accomplish this?
I figure a widget would be the easy way to do it, so I could add the button to locations like the Xenporta front page, "What's new?", and other locations. What code would I need in the widget to accomplish this?
CoZmicShReddeR Well-known member Aug 15, 2019 #2 Navigation mydomain.com/admin.php?navigation/ Upvote 0 Downvote
Morrus Member Aug 15, 2019 #3 To clarify, my question was about adding the orange Post Thread button to a widget. Upvote 0 Downvote
Kevin Well-known member Aug 16, 2019 #4 Morrus said: To clarify, my question was about adding the orange Post Thread button to a widget. Click to expand... Try... Code: <xf:if is="$xf.visitor.canCreateThread()"> <xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true"> {{ phrase('post_thread...') }} </xf:button> </xf:if> Upvote 0 Downvote
Morrus said: To clarify, my question was about adding the orange Post Thread button to a widget. Click to expand... Try... Code: <xf:if is="$xf.visitor.canCreateThread()"> <xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true"> {{ phrase('post_thread...') }} </xf:button> </xf:if>