DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:popupviewer

PopUpViewer Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Ever wanted to not just to have pop-up images from your website, but whole pages? PopUpViewer can do that for you!

Last updated on
2022-02-17
Provides
Syntax
Repository
Source

Similar to lightbox, lightboxv2

Tagged with imageflow, lightbox, popup

Needed for imageflow

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

For detailed information and download instructions see the home page.

Fix for version 2024-02-06 "Kaos"

If you have been using the outstanding PopUpViewer on several versions of DokuWiki, like I have, upgrading to Kaos causes DokuWiki to fail showing the following error message

ArgumentCountError: 4 arguments are required, 2 given An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the info plugin. More info has been written to the DokuWiki error log.

The issue seems to be caused by a more rigorous check in inc/Extension/PluginTrait.php of the information array in plugin.info.txt which should be included with every plugin. 1)

For PopUpViewer, mandatory item desc is simply missing causing above error message which does not directly indicate what the root cause is, however. I fixed the issue by adding the mandatory desc item on the correct line.

Original

# General Plugin Info do not edit

base   popupviewer
author i-net software
email  tools@inetsoftware.de
date   2022-02-17
name   PopUpViewer

url    https://github.com/i-net-software/dokuwiki-plugin-popupviewer

Fix

# General Plugin Info do not edit

base   popupviewer
author i-net software
email  tools@inetsoftware.de
date   2022-02-17
name   PopUpViewer
desc   Show a page in a popup window
url    https://github.com/i-net-software/dokuwiki-plugin-popupviewer

After this change, PopUpViewer will no longer halt DokuWiki version Kaos.

johng 2024-02-08 11:05

Change Log

Discussion

“keepOpen” option does not keep popup page open if clicking link in it. 23.04.2016.
1)
See releases - note “Ensure plugin.info.txt data is complete”
plugin/popupviewer.txt · Last modified: 2024-02-08 11:33 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki