aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Widgets.md
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-20 10:14:35 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-05-20 10:14:35 +1000
commit9485e917c61c244fac1ab5bb6fe760645e12dcfb (patch)
treee94b58a5f728a555912ec8d9fd3dd8c460095e64 /doc/Widgets.md
parent3471e98989866b47a5f5b7fe24bbfb2862f91379 (diff)
parenta2696bea19baa689c96a138365b0145dec906dd6 (diff)
downloadvolse-hubzilla-9485e917c61c244fac1ab5bb6fe760645e12dcfb.tar.gz
volse-hubzilla-9485e917c61c244fac1ab5bb6fe760645e12dcfb.tar.bz2
volse-hubzilla-9485e917c61c244fac1ab5bb6fe760645e12dcfb.zip
Merge pull request #327 from solstag/help
Document php-xml requirement for webdav and widget creation.
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;