aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-19 17:17:04 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-19 17:17:04 -0700
commite54198e5b8c0534a9021f4a494cf6fa504fc72ac (patch)
treea8fca2cd5cf79fec2979a9386cd29ca511af679f /doc
parentd84c2835cd3a75a471ccd7c307e36421d8670064 (diff)
parent9485e917c61c244fac1ab5bb6fe760645e12dcfb (diff)
downloadvolse-hubzilla-e54198e5b8c0534a9021f4a494cf6fa504fc72ac.tar.gz
volse-hubzilla-e54198e5b8c0534a9021f4a494cf6fa504fc72ac.tar.bz2
volse-hubzilla-e54198e5b8c0534a9021f4a494cf6fa504fc72ac.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'doc')
-rw-r--r--doc/Widgets.md16
-rw-r--r--doc/main.bb2
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/Widgets.md b/doc/Widgets.md
index d45f719d9..d9df66eee 100644
--- a/doc/Widgets.md
+++ b/doc/Widgets.md
@@ -99,4 +99,20 @@ Some/many of these widgets have restrictions which may restrict the type of page
* channel_id - if not your own
<br />&nbsp;<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;
diff --git a/doc/main.bb b/doc/main.bb
index 4af02142f..8c28ccce2 100644
--- a/doc/main.bb
+++ b/doc/main.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/comanche]Comanche Page Descriptions[/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/doco]Contributing Documentation[/zrl]
[zrl=[baseurl]/help/DerivedTheme1]Creating Derivative Themes[/zrl]