XF 1.2 New posts at the bottom

AndreaMarucci

Well-known member
I have the need to have a button at the forum bottom that work like the New Posts link in the menu bar so when someone has finished reading all the thread can check the new posts without going back to the top of the page.

Anyone has an idea on how to do that?
 
Last edited:
Edit the thread_view template and add the code for the new posts link to the bottom somewhere, with appropriate styling.
You can check the navigation template for the code to use.
 
Thanks but I need that someone tell me exactly what to do. I can imagine what to do but my knowledge is not at the level that I can apply the modifications by myself :rolleyes:
 
After many tries I've edited the thread_view template and added after
Code:
</form>
this row
Code:
<a href="/find-new/posts" class="callToAction"><span>Nuovi Messaggi</span></a>
and it worked. I'd like to move the button on the right but I've noticed that if you're in the middle of a long thread, on the right there's a link that tell you how many messages you've to see.

Any other idea on where to place this button?
 
Any other idea on where to place this button?
How about in the footer? Or in the template ad_below_content.

Alternatively I find it useful to have a link under each post. Add it to the bottom of post template (but you may want shorter anchor text in that case
Code:
</xen:hook>
<a href="/find-new/posts" class="callToAction"><span>Nuovi Messaggi</span></a>
 
Back
Top Bottom