Dubbed Navigator Active member Jan 30, 2020 #1 Hello Could anyone please share / advise what code I would need to place and where in order to add a "add media" (for the XFMG) button next to post thread? I want to make it so users can add media as quickly as possible Thanks
Hello Could anyone please share / advise what code I would need to place and where in order to add a "add media" (for the XFMG) button next to post thread? I want to make it so users can add media as quickly as possible Thanks
Oblivion Knight Well-known member Apr 27, 2021 #3 @Dubbed Navigator Template forum_overview_wrapper Find: Code: <xf:if is="$xf.visitor.canCreateThread() OR $xf.visitor.canCreateThreadPreReg()"> <xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true"> {{ phrase('post_thread...') }} </xf:button> </xf:if> Add above (or below): Code: <xf:if is="$xf.visitor.canAddMedia()"> <xf:button href="{{ link('media/add') }}" class="button--cta" icon="add" data-xf-click="overlay"> {{ phrase('xfmg_add_media...') }} </xf:button> </xf:if> ..better late than never! Upvote 0 Downvote
@Dubbed Navigator Template forum_overview_wrapper Find: Code: <xf:if is="$xf.visitor.canCreateThread() OR $xf.visitor.canCreateThreadPreReg()"> <xf:button href="{{ link('forums/create-thread') }}" class="button--cta" icon="write" overlay="true"> {{ phrase('post_thread...') }} </xf:button> </xf:if> Add above (or below): Code: <xf:if is="$xf.visitor.canAddMedia()"> <xf:button href="{{ link('media/add') }}" class="button--cta" icon="add" data-xf-click="overlay"> {{ phrase('xfmg_add_media...') }} </xf:button> </xf:if> ..better late than never!