Table of Contents
Plugins
Writing a plugin
Annexes
Plugins
Writing a plugin
Plugin files organization
General organization of a plugin
Organizing files in the inc/ directory
Protecting files
Writing a plugin for Dotclear 2
Writing a plugin for Dotclear 2
Introduction
First plugin
Definition of plugin
Organization of a plugin
Writing a plugin back-end
Minimal Structure
Download the example plugin
Customize the administration page
Creating a front-end page
The _define.php file
The _prepend.php file
The _public.php file
The template file
Download the example plugin
Plugins parameters
Saving a parameter
Reading a parameter
Deleting a parameter
User preferences
Save a preference
Read a preference
Delete a preference
Widget creation
Introduction
Plugin conception
Advanced widget parameters
Création de filtres antispam
Généralités
Définition du plugin
Création du filtre
Conclusion
Modèle de code pour une classe de filtrage
Comportements
Principe
Behavior Admin
Behavior Core
Behavior Plugin Import/Export
Behavior Plugin Widgets
Behavior Page Login
Behavior Plugins
Behavior Public
Behavior Templates
Behavior XML-RPC
Add a plugin installation procedure
Introduction
The _install.php file
Create new preferences
Modify the database schema
Create an Ajax service
What is an Ajax service?
Prerequisites
Service creation
Service declaration
Data processing
Error handling
Add an icon to the dashboard
Introduction
Adding a favorite icon
help
changelogs
Related links :
Access to database with Clearbricks (Tips DotAddict)
Annexes
Coding standards
PHP Code
HTTP Conventions
XHTML Code
Database
code-documentation