Jump to content
WebFlake
  • 1

How to make a back button from a topic


Fighter

Question

Hi guys, I'm looking to replace the navigation breadcrumbs as I feel visually it clutters the page and it is a bit old-fashioned. I would just like to have a back button on the topics. But I'm not sure how to make a link that will take users to the subforum where the topic is posted. I hope I'm explaining correctly what I'm trying to do. 

Basically I just wanna insert a link in topics that will take to the parent forum it is in and call it a "back button". Not sure which php code I would have to use in the href for the forum to render it as a link to the correct parent forum for each thread. 

Any help would be greatly appreciated. ?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Sorry, the answer was in the topic template itself, since there is a navigation link at the bottom.

The answer is to use "<a href="{$topic->container()->url()}" title="{lang="go_to_forum" sprintf="$topic->container()->metaTitle()"}" rel="parent">" for whatever back button you want to create.

 

  • Thanks 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...