🌍
English
This shows you the differences between two versions of the page.
dev:extensions:plugin_tutorial2 [2011/06/17 13:01] j.commelin added Introduction |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tutorial: Copyrights plugin ====== | ||
- | In this tutorial you will learn more about the basics of plugin development for Piwigo. This tutorial is a follow up on [[tutorial1|Tutorial: Hello World!]]. The entire plugin can be | ||
- | installed from the extension gallery under the name [[http://piwigo.org/ext/extension_view.php?eid=537|'Copyrights']]. | ||
- | |||
- | ===== Introduction ===== | ||
- | With this plugin we want to achieve the following: | ||
- | - Somewhere we want to manage our copyrights. | ||
- | - Somehow copyrights must be added to photos. | ||
- | - Somehow the copyright must be displayed when visitors view a photo. | ||
- | Therefore, we will write code for: | ||
- | - An administration panel, where the admin can create and edit plugins | ||
- | - An extension to the Batch manager (using events) so that copyrights can be added to photos. | ||
- | - Another event-hook that will display the copyright when a photo is viewed. | ||
- | |||
- | ===== The admin panel ===== | ||
- | |||
- | ===== Extending the Batch manager ===== | ||
- | |||
- | ===== Showing the copyrights to visitors ===== | ||