Document widget creation.
This commit is contained in:
parent
2c7b786907
commit
a2696bea19
@ -99,4 +99,20 @@ Some/many of these widgets have restrictions which may restrict the type of page
|
|||||||
* channel_id - if not your own
|
* channel_id - if not your own
|
||||||
<br /> <br />
|
<br /> <br />
|
||||||
|
|
||||||
|
|
||||||
|
Creating New Widgets
|
||||||
|
====================
|
||||||
|
|
||||||
|
If you want a widget named 'slugfish', create widget/slugfish.php containing
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
function widget_slugfish($args) {
|
||||||
|
|
||||||
|
.. widget code goes here
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#include doc/macros/main_footer.bb;
|
#include doc/macros/main_footer.bb;
|
||||||
|
@ -52,7 +52,7 @@ Zot is the great new communicaton protocol invented especially for the $Projectn
|
|||||||
[zrl=[baseurl]/help/zot_structures]Zot Stuctures[/zrl]
|
[zrl=[baseurl]/help/zot_structures]Zot Stuctures[/zrl]
|
||||||
[zrl=[baseurl]/help/comanche]Comanche Page Descriptions[/zrl]
|
[zrl=[baseurl]/help/comanche]Comanche Page Descriptions[/zrl]
|
||||||
[zrl=[baseurl]/help/Creating-Templates]Creating Comanche Templates[/zrl]
|
[zrl=[baseurl]/help/Creating-Templates]Creating Comanche Templates[/zrl]
|
||||||
[zrl=[baseurl]/help/Widgets]Core Widgets[/zrl]
|
[zrl=[baseurl]/help/Widgets]Widgets[/zrl]
|
||||||
[zrl=[baseurl]/help/plugins]Plugins[/zrl]
|
[zrl=[baseurl]/help/plugins]Plugins[/zrl]
|
||||||
[zrl=[baseurl]/help/doco]Contributing Documentation[/zrl]
|
[zrl=[baseurl]/help/doco]Contributing Documentation[/zrl]
|
||||||
[zrl=[baseurl]/help/DerivedTheme1]Creating Derivative Themes[/zrl]
|
[zrl=[baseurl]/help/DerivedTheme1]Creating Derivative Themes[/zrl]
|
||||||
|
Reference in New Issue
Block a user