#1
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.


 

Russ

Pixel Exit Staff
#2
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.
 

Russ

Pixel Exit Staff
#4
I'll try to pick up the add-on this weekend as I know it's a very popular portal solution and a lot of our users will be using it. I'll look into adjustments we can make on our end as well as suggestions for Jaxel if any he can make directly into to add-on to benefit everyone.
 

Russ

Pixel Exit Staff
#6
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>
 
#7
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>
I wish I could like this more than once. Thank you so much @Russ!!!!
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.