BigPete7978
Registered
So I am using an add on called xenPorta for my board. I was wondering if it was possible to add the New Posts and Post Thread buttons to my Home Page and not just on the Forums page. I want them to mirror one another.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Just created the ticket @Russ. Thanks!Would you be able to submit a ticket with an admin login, I haven't used the XF2 version of XenPorta yet, nor do I own it but I can take a look.
<xf:title>{$xf.options.boardTitle}</xf:title>
<xf:pageaction>
<xf:if is="$pageSelected == 'new_posts' ">
<xf:button href="{{ link('forums/list') }}" icon="list">
{{ phrase('forum_list') }}
</xf:button>
<xf:else />
<xf:button href="{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}" icon="bolt">
{{ phrase('new_posts') }}
</xf:button>
</xf:if>
<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>
</xf:pageaction>
I wish I could like this more than once. Thank you so much @Russ!!!!So it looks like it's possible, for anyone else who wants it:
Template: EWRporta_articles_index
Find:
Code:<xf:title>{$xf.options.boardTitle}</xf:title>
Add below:
Code:<xf:pageaction> <xf:if is="$pageSelected == 'new_posts' "> <xf:button href="{{ link('forums/list') }}" icon="list"> {{ phrase('forum_list') }} </xf:button> <xf:else /> <xf:button href="{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}" icon="bolt"> {{ phrase('new_posts') }} </xf:button> </xf:if> <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> </xf:pageaction>