cogA nice JavaScript Back to top, adapted to flamingo theme color and customizable
TypeXAR
CategoryOther          
Developed by

kebir yacine

Rating
Rate!
1 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

XWiki Back To Top plugin is a nice JavaScript extension, it's adapted to the current flamingo theme color applied to your platform, the beautiful style is made with LESS css.

Here the demo by video:

This extension is contain only one XWiki document with 2 objects:

  • LESS StyleSheetExtension 
  • JavaScriptExtension 

It's very simple to install, you may just import the XAR on your platform to make it work.

By default, the extension is applied to all platform documents, you can customize it easily:

  • To apply the extension on only the view or edit mode, you change the "displaymode" to "view" or "edit" on the JavaScriptExtension.
  • You can change the text by editing the variable text on the JavaScriptExtension.
  • You can apply the extension for one document, in this case you edit in object the document "BackToTop.Code" and change the select "Use this extension" to "On demande only" for the StyleSheetExtension and JavaScriptExtension object, after you should call the ssx and the jsx on your page like this:
#set($discard = $xwiki.ssx.use("BackToTop.Code"))
#set($discard = $xwiki.jsx.use("BackToTop.Code"))

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.0XWiki Enterprise 6.4.5

This version work only on XWiki version >= 6.4M2

1.1XWiki Enterprise 6.0 

This version work for < 6.4M2 without adaptation with the flamingo color theme

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.1

The improvements added

  • A possibility for the extension to work on others versions less than 6.4M2 without adaptation with the flamingo color theme.

v1.0

Initial version

Created by kebir yacine on 2015/12/23 00:24
    

Get Connected