aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Widgets.md
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-19 17:36:11 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-19 17:36:11 -0700
commitc78869e437eecfe7e30f728c3726341b60fe7803 (patch)
treee5c0585d5093ffd270dde4cc15855bbbbab91a5b /doc/Widgets.md
parent77e2ef45f05b8106ebe5400f8931c6e54ec6341b (diff)
parente54198e5b8c0534a9021f4a494cf6fa504fc72ac (diff)
downloadvolse-hubzilla-c78869e437eecfe7e30f728c3726341b60fe7803.tar.gz
volse-hubzilla-c78869e437eecfe7e30f728c3726341b60fe7803.tar.bz2
volse-hubzilla-c78869e437eecfe7e30f728c3726341b60fe7803.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: view/nl/messages.po view/nl/strings.php
Diffstat (limited to 'doc/Widgets.md')
-rw-r--r--doc/Widgets.md16
1 files changed, 16 insertions, 0 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;