ShowHide Macro

Last modified by Admin on 2026/04/27 00:00

cogWiki macros implementation for simple show/hide of a content with some animations.
TypeXAR
Category
Developed by

Denis Gervalle, Flavius Olaru, Ludovic Dubost

Active Installs125
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Success

Installable with the Extension Manager

Description

Wiki macros implementation for simple show/hide of a content with some animations.
Version 2.x is HTML compatible with the old version, so that existing project could continue styling with the same kind of CSS rules. However, it is now based on jQuery, and need requireJS, so it requires XWiki 5.x or more.

The package includes demos of the macros and you can find screenshots below:

ShowHideMacro.gif

Warning

Since the Ajax macro have been dropped from this extension since version 1.1, this new release has been limited to the ShowHide macro. If you need the Ajax macro, you should either use version 1.0, or seek for another appropriate extension.

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

After installation, visit Macros.ShowHideMacro

Versions

Dependencies

Dependencies for this extension (org.xwiki.contrib.showhide:showhide-macro 2.1):

Get Connected