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

Implemented Add a Back to Top Button

Amaury

Well-known member
#1
Doing some searching, this was suggested before, but it was closed due to a lack of interest.

But, anyway, as title. I really find this useful, especially in long threads. Sure, the Page Up key is faster than scrolling, but a back to top button is even faster and instant.

@MattW already has an add-on for this, but I think it should be in the core, in my opinion.
 

Martok

Well-known member
#7
Hmm. I've just noticed that the Top link is not available in responsive. It's most useful there as you can't use a Home key on a mobile device.

Maybe this should be raised as a separate suggestion?
 

FredC

Well-known member
#12
CTRL/HOME that requires two hands.. lol just noticed i have two home buttons, one of them only requires a finger, im good.
 

Amaury

Well-known member
#14
It's easy with a template edit, though I don't know why you'd want to remove an easy way to go back to the top. (Admittedly, it's a bit "obsolete," so to speak, when you can just press the Home key and such, but still.)
 
#15
It's easy with a template edit, though I don't know why you'd want to remove an easy way to go back to the top. (Admittedly, it's a bit "obsolete," so to speak, when you can just press the Home key and such, but still.)
yeah its easy but owner of my forum want me to hide it so could you please tell me path from where can I hide it?
 

adwade

Active member
#16
...could you please tell me path from where can I hide it?

On our board, I colored it Purple so it would be a little more obvious to our users...
Screen Shot 2016-08-09 at 10.27.13 PM.jpg
I did so by editing the Phrase go_to_top
FROM:
Code:
Top
TO:
Code:
<font color=#FF3399>Top</font>
If you'll just remove 'Top' from the Phrase Text box (and leave it empty) then the LINK will disappear...
Screen Shot 2016-08-09 at 10.31.52 PM.jpg
EDIT:
It looks like it's this line of code in the footer Template
Code:
<li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li>
That you would want to comment out.(i.e. <xen:comment>code to ignore here</xen:comment>)
 
Last edited:
#17
On our board, I colored it Purple so it would be a little more obvious to our users...
I did so by editing the Phrase go_to_top
FROM:
Code:
Top
TO:
Code:
<font color=#FF3399>Top</font>
If you'll just remove 'Top' from the Phrase Text box (and leave it empty) then the LINK will disappear...
EDIT:
It looks like it's this line of code in the footer Template
Code:
<li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li>
That you would want to comment out.(i.e. <xen:comment>code to ignore here</xen:comment>)
Thank You so much adwade... much appreciated :)