XF 2.x In Nova, can i change the prefixes position on the thread list?

palhanow

Customer
Hello!

I'm trying to use more prefixes in my Forum, with Nova Theme, but some users are complaining that they generate a little visual pollution.

So, I'm thinking if we can change the prefix position, next to the reactions summary (in the right side of the thread title).

Please, see this example:

9704


Sorry for the bad drawing.
 

Russ

Pixel Exit Staff
Try this out, edit: thread_list_macros.

Find and remove:

Code:
                <xf:if is="$thread.prefix_id">
                    <li>
                    <xf:if is="$forum">
                        <a href="{{ link('forums', $forum, {'prefix_id': $thread.prefix_id}) }}" class="labelLink" rel="nofollow">{{ prefix('thread', $thread, 'html', '') }}</a>
                    <xf:else />
                        {{ prefix('thread', $thread, 'html', '') }}
                    </xf:if>{/code]

Add then find:

[code]<xf:if is="property('reactionSummaryOnLists') == 'status' && $thread.first_post_reactions">
Add right above:

Code:
                <xf:if is="$thread.prefix_id">
                    <li>
                    <xf:if is="$forum">
                        <a href="{{ link('forums', $forum, {'prefix_id': $thread.prefix_id}) }}" class="labelLink" rel="nofollow">{{ prefix('thread', $thread, 'html', '') }}</a>
                    <xf:else />
                        {{ prefix('thread', $thread, 'html', '') }}
                    </xf:if>
                        </li>
                </xf:if>
Result:

Screenshot_20.png
 

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.