Standalone addon modules

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Standalone addon modules)
(Standalone addon modules)
Line 6: Line 6:
 
A standalone addon module is a plugin that is almost entirely self contained. As in, it doesn't really change anything; it just adds something.  
 
A standalone addon module is a plugin that is almost entirely self contained. As in, it doesn't really change anything; it just adds something.  
  
'''Standalone addons typically consist of three elements:'''
+
Standalone addons typically consist of three elements:
 
#Button on the Main Menu - links to the plugin's management module
 
#Button on the Main Menu - links to the plugin's management module
 
#Management Module - Where you creates/edit stuff, set up the various config options for the plugin, etc.
 
#Management Module - Where you creates/edit stuff, set up the various config options for the plugin, etc.
#Page Editor Object - Draggable icon in the Page Editor that you drag onto a site page
+
#Page Editor Object - Draggable icon in the Page Editor that you drag-and-drop onto a site page
#Website Display Builder -
+
#Website Display Element - This what displays on the actual website when you drop your plugin's Page Editor Object onto a site page and save/preview the page.
  
*Modifications/Hacks
+
===Modifications/Hacks===
  
 
==Step 1: Hack it==
 
==Step 1: Hack it==

Revision as of 12:15, 18 May 2006

Contents

Introduction

The purpose of this article is to give you a general overview of the various methods availble to you for creating plugins.

Common types of plugins

Standalone addon modules

A standalone addon module is a plugin that is almost entirely self contained. As in, it doesn't really change anything; it just adds something.

Standalone addons typically consist of three elements:

  1. Button on the Main Menu - links to the plugin's management module
  2. Management Module - Where you creates/edit stuff, set up the various config options for the plugin, etc.
  3. Page Editor Object - Draggable icon in the Page Editor that you drag-and-drop onto a site page
  4. Website Display Element - This what displays on the actual website when you drop your plugin's Page Editor Object onto a site page and save/preview the page.

Modifications/Hacks

Step 1: Hack it

Step 2: Figure out how best to integrate your hacks

==

Personal tools