Moving the "Return to forum xyz"

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Holger
Registered User
Posts: 1739
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Moving the "Return to forum xyz"

Post by Holger » Thu Jun 13, 2019 6:57 am

Hello,

I am looking for a way to move the "Return to forum xyz" link to above the Quick Reply.
Everytime I read a topic I have to scroll down to return, the link is too far down.
Also, it is missing completely in the mobile version?

In this case it is the link Återgå till "Kryssningsfartyg" in the screenshot:
backto-forum.PNG

User avatar
Lumpy Burgertushie
Registered User
Posts: 66326
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Moving the "Return to forum xyz"

Post by Lumpy Burgertushie » Thu Jun 13, 2019 3:08 pm

it is already at the top of the page in the form of the "breadcrumbs".

or, you can simply hit the back button on your browser or right click and click on the back arrow/button there.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51721
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Moving the "Return to forum xyz"

Post by Brf » Thu Jun 13, 2019 3:14 pm

There is also a "Top" button at the bottom of the Post profile to take you to the top where the breadcrumb is.

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Moving the "Return to forum xyz"

Post by canonknipser » Thu Jun 13, 2019 3:36 pm

Brf wrote:
Thu Jun 13, 2019 3:14 pm
There is also a "Top" button
And if using a old-fashioned input device called "keyboard" you can use a key called "Pos1" to jump to the top of the page in most browsers
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51721
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Moving the "Return to forum xyz"

Post by Brf » Thu Jun 13, 2019 4:56 pm

canonknipser wrote:
Thu Jun 13, 2019 3:36 pm
a key called "Pos1"
The "Home" key?

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Moving the "Return to forum xyz"

Post by canonknipser » Thu Jun 13, 2019 7:12 pm

Yes, on EN and US keyboards it is called "Home"
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

Holger
Registered User
Posts: 1739
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Moving the "Return to forum xyz"

Post by Holger » Fri Jun 14, 2019 7:37 am

But, when reading a topic I scroll down, and the link is already there (just too far down), why should I scroll UP?
Everything is down there, just not in the right place.

User avatar
Talk19Zehn
Registered User
Posts: 326
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Moving the "Return to forum xyz"

Post by Talk19Zehn » Fri Jun 14, 2019 11:31 am

Hello, press the mouse-wheel and scroll in the directions - almost fully automatically at the top or to bottom. ;)

Edit: Or go perhaps over the Jumpbox (activation required) to jump into an area of your choice.

Regards
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51721
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Moving the "Return to forum xyz"

Post by Brf » Fri Jun 14, 2019 1:03 pm

Holger wrote:
Fri Jun 14, 2019 7:37 am
But, when reading a topic I scroll down, and the link is already there (just too far down), why should I scroll UP?
Everything is down there, just not in the right place.
Because scrolling to the top takes only a single keystroke. With a keyboard, scrolling to the bottom only take a single keystroke too.

User avatar
eeji
Jr. Style Validator
Posts: 1074
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Moving the "Return to forum xyz"

Post by eeji » Fri Jun 14, 2019 5:53 pm

Open jumpbox.html and remove the following:

Code: Select all

	<!-- IF S_VIEWTOPIC -->
	<p class="jumpbox-return">
		<a href="{U_VIEW_FORUM}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_FORUM}</span>
		</a>
	</p>
	<!-- ELSEIF S_VIEWFORUM -->
	<p class="jumpbox-return">
		<a href="{U_INDEX}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_INDEX}</span>
		</a>
	</p>
	<!-- ELSEIF SEARCH_TOPIC -->
	<p class="jumpbox-return">
		<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_TOPIC}</span>
		</a>
	</p>
	<!-- ELSEIF S_SEARCH_ACTION -->
	<p class="jumpbox-return">
		<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_GO_TO_SEARCH_ADV}</span>
		</a>
	</p>
	<!-- ENDIF -->
Open viewtopic_body.html and find <!-- IF S_QUICK_REPLY -->
On a blank line ABOVE, paste the following:

Code: Select all

<div class="action-bar actions-jump">
	<!-- IF S_VIEWTOPIC -->
	<p class="jumpbox-return">
		<a href="{U_VIEW_FORUM}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_FORUM}</span>
		</a>
	</p>
	<!-- ELSEIF S_VIEWFORUM -->
	<p class="jumpbox-return">
		<a href="{U_INDEX}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_INDEX}</span>
		</a>
	</p>
	<!-- ELSEIF SEARCH_TOPIC -->
	<p class="jumpbox-return">
		<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_TOPIC}</span>
		</a>
	</p>
	<!-- ELSEIF S_SEARCH_ACTION -->
	<p class="jumpbox-return">
		<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">
			<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_GO_TO_SEARCH_ADV}</span>
		</a>
	</p>
	<!-- ENDIF -->
</div>
Untested, but should work.

Post Reply

Return to “[3.2.x] Styles Support & Discussion”