Difference between revisions of "Gallery3:Modules:event watcher" - Gallery Codex
Personal tools

Difference between revisions of "Gallery3:Modules:event watcher"

From Gallery Codex

Line 4: Line 4:
 
|description=forums
 
|description=forums
 
|version=1}}
 
|version=1}}
 +
 +
== Description ==
 +
 +
This module is meant to be a tool for module developers.
 +
It is '''not''' intended to be used in a published gallery.
 +
 +
In particular, it traps all* of the event hooks and adds an info status message (with a timestamp) to help get a better understanding of what events are being triggered by any given action.
 +
 +
::<span style='color:#808080'>''*Here, "all" means all of the events found in all of the modules in the main branch of the [https://github.com/gallery/gallery3 gallery3] and [https://github.com/gallery/gallery3-contrib gallery3-contrib] projects on github at the time this module was created''</span>
 +
 +
== Usage ==
 +
 +
Just add this module to your gallery3 installation.
 +
 +
*When you want to watch events, activate it.
 +
*When you no longer want the events "cluttering up" your gallery, deactivate it.
 +
 +
Simple as that!
 +
 +
== Extending this module ==
 +
 +
This is pretty bare-bones with no customization available, feel free to use it, tweak it, enhance it, etc.
 +
If you make a change that you think others might like, consider updating the version in the gallery3-contrib project as well.
  
 
[[Category:Gallery 3:Modules|emboss]]
 
[[Category:Gallery 3:Modules|emboss]]

Revision as of 21:38, 7 November 2012

Description

This module is meant to be a tool for module developers. It is not intended to be used in a published gallery.

In particular, it traps all* of the event hooks and adds an info status message (with a timestamp) to help get a better understanding of what events are being triggered by any given action.

*Here, "all" means all of the events found in all of the modules in the main branch of the gallery3 and gallery3-contrib projects on github at the time this module was created

Usage

Just add this module to your gallery3 installation.

  • When you want to watch events, activate it.
  • When you no longer want the events "cluttering up" your gallery, deactivate it.

Simple as that!

Extending this module

This is pretty bare-bones with no customization available, feel free to use it, tweak it, enhance it, etc. If you make a change that you think others might like, consider updating the version in the gallery3-contrib project as well.