Top of the Page


The problem with creating "Return to Top" links in content is that they do nothing for SEO and can even detract from it, and they can clutter your page. When you have a very long page, how do you decide where to put them? Do you need more than one?
Top of the Page removes these concerns by creating a "Return to Top" link when the page has been scrolled by a certain (administrator) designated distance. When the page is scrolled back to the top (above the designated distance), the link disappears. If your page is short and users can't scroll down the designated distance, the link will never be visible and cannot cause disruption.
Your button can be text or images - the style is set by CSS in the plugin configuration, so you're not limited to any included images. The text is set using standard Joomla translation files, and can be overridden using the Joomla Language Manager in your /administrator interface.
Your site isn't about "Return to Top" or "Back to Top", so why confuse your SEO by creating links? There is no need to put links to named anchors in your content which can negatively effect SEO. "Top of the Page" links are automatically created by this plugin and float in the designated position regardless of your position on the page. The administrator also has the option to enable Smooth Scroll, along with scroll speed, CSS options and more! And, it's invisible to search engines!
You've seen a similar implementation here in the JED (look in the lower right corner), but the JED uses a JQuery implementation while "Top of the Page" is configurable to use either MooTools or jQuery so you can load the correct Javascript framework and keep your pages loading fast!
In MooTools mode, this plugin implements ScrollSpy and SmoothScroll, both by David Walsh ( http://davidwalsh.name ).
By Popular Demand: Option to omit the link text for users who want to use an image. No more making language overrides to accomplish this simple requirement!
By Less-than-popular Demand: Tweaked code to prevent adding the anchor to the URL as well as Fx.Transitions/jQuery.transitions (all 37/34 of them respectively) - added for completeness, and because someone copied my extension and added 7 transitions so he could release it as his own.
Version 1.21 resolves a strange IE incompatibility that causes the URL to be returned as an object instead of a string.
Version 1.22 adds jQuery library option.
All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the "Website" link to make a contribution.
You'll need to create a language file for the plugin to represent each language you want to translate.
Basically, in your administrator folder, you'll find administrator/language/en-GB/en-GB.plg_system_topofthepage.ini
Copy that file into your needed language folders, so copy it to administrator/language/xx-XX/xx-XX.plg_system_topofthepage.ini
Then edit the file, changing the value within quotes to the appropriate word or phrase in your target language. The specific line you'll need to translate is:
PLG_SYS_TOPOFTHEPAGE_GOTOTOP="Return to Top"
The rest of the file is for the plugin translations in the backend.
One thing I miss though is a way to translate it. If I could easily translate it to other languages it would get 5 stars from me.
Thanks.
You should note that this extension is a plugin AND language file. This means the plugin uses standard joomla translation files. If you want another language, copy the English translation file to the appropriate language folder and translate it.
No chance for that 5th star now, even though the plugin already does this.
However the problem is it will shift the menu bar (in position-0 my_beez20 nature template) down and it is annoying.
I hope the developer continue his great work and correct the bug.
Thanks for reporting your issue, but I wish you had contacted me regarding the issue rather than post it here in the review. I try to be very responsive to errors or other issues with my extensions.
Version 1.1 is now available and resolves this issue - tested against the beez template.
is there any way to get it run under 1.5? I have 1.6 only for testing and i found it not so good.
Love or hate 1.6, it's here to stay. The same cannot be said for 1.5. Eventually (January 2012) support will end and extensions will follow.
Writing two versions of an extension adds a lot of extra work for no monetary reason...Remember, all of my extensions are free. On that note, I CAN be bribed.
Support is not needed, it works after installation and publishing.
Very good job! Thanks.
Thanks for your kind words. I wanted to make it easy to use and style. I'm glad you appreciate my work.


