User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:dynamic_plugin_requirements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mantisbt:dynamic_plugin_requirements [2007/11/03 13:57]
jreese
mantisbt:dynamic_plugin_requirements [2008/10/29 04:25] (current)
Line 121: Line 121:
   * ''​lang/''​ is only required if the plugin needs to use language strings that don't appear in the standard language files. ​ These files will only be loaded if the requested strings cannot be found otherwise.   * ''​lang/''​ is only required if the plugin needs to use language strings that don't appear in the standard language files. ​ These files will only be loaded if the requested strings cannot be found otherwise.
   * ''​pages/''​ is only required if a plugin needs to have its own pages. ​ They can be accessed by linking a url returned by the ''​plugin_page()''​ function. ​ These pages need not load the core libraries, as it will already be loaded for them.   * ''​pages/''​ is only required if a plugin needs to have its own pages. ​ They can be accessed by linking a url returned by the ''​plugin_page()''​ function. ​ These pages need not load the core libraries, as it will already be loaded for them.
 +
 +
  
  
Line 156: Line 158:
  
 /** /**
- ​* ​Register callback methods for any events necessary.+ ​* ​Intitialize the plugin.
  */  */
-function ​plugin_callback_supercow_initialize() {+function ​plugin_callback_supercow_init() {
   plugin_event_hook( '​EVENT_PLUGIN_INIT',​ '​header'​ );   plugin_event_hook( '​EVENT_PLUGIN_INIT',​ '​header'​ );
 } }
Line 174: Line 176:
 } }
 </​code>​ </​code>​
 +
  
  
Line 200: Line 203:
   * (vboctor): It should be easy to develop features like Twitter notifications as plug-ins. ​ Once we do that, then the community can have plugins for all similar services like SMS, Jaiku, Pownce, etc.   * (vboctor): It should be easy to develop features like Twitter notifications as plug-ins. ​ Once we do that, then the community can have plugins for all similar services like SMS, Jaiku, Pownce, etc.
     * (jreese) Once again, this comes down to picking appropriate and useful events.     * (jreese) Once again, this comes down to picking appropriate and useful events.
 +  * (DGtlRift): In the above explanation and examples should ''​plugin_callback_<​basename>​_register()''​ be ''​plugin_callback_<​basename>​_init()''?​
mantisbt/dynamic_plugin_requirements.1194112643.txt.gz ยท Last modified: 2008/10/29 04:31 (external edit)