1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Adding button/link to bottom of Thread View...

Discussion in 'Styling and Customization Questions' started by Jwrbloom, May 5, 2016.

  1. Jwrbloom

    Jwrbloom Member

    I've done some searching and will continue to do so, but I'm looking to add a Button on the Thread View template that will take my Users back to the Topic View page. My Users feel like it's easier to get back there via their phone, while updating which topics have been viewed already. (They don't want to use the back button or scroll down to the breadcrumbs.)
     
  2. AndyB

    AndyB Well-Known Member

    Do you mean Forum List or Forum View?
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Any back to top button either has to float (and so be available all the time to avoid scrolling)

    e.g. https://xenforo.com/community/resources/back-to-the-top.525/

    or else be in every post.

    I have added the following to the bottom of the post template:

    Code:
    <a href="{$requestPaths.requestUri}#navigation" class="item control">{xen:phrase go_to_top}</a>
                </div>
    Just after this bit:

    Code:
    title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
                    </xen:if>
                    </xen:hook>
     
  4. Jwrbloom

    Jwrbloom Member

    At the bottom of a topic/thread, just above the Quick Reply window, I'd like a button that says, Return to Forum Topics, like in the image below. I've been able to create and add the xen: phrase return_to_topics, but I the link, preferably a button, that takes the User back to the page to see all the topics.




    Screen Shot 2016-05-06 at 11.19.02 AM.png
     
  5. Jwrbloom

    Jwrbloom Member

    Probably Forum View.

    Screen Shot 2016-05-06 at 11.23.45 AM.png
     
  6. Mr Lucky

    Mr Lucky Well-Known Member

    Do you mean to topics in the same forum or to new/recent posts?
     

Share This Page