diff options
author | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2015-05-19 16:59:28 +0000 |
---|---|---|
committer | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2015-05-19 16:59:28 +0000 |
commit | a2696bea19baa689c96a138365b0145dec906dd6 (patch) | |
tree | 7628bcccdaec748aaa58c22467f8cffcb65c2981 /doc/Widgets.md | |
parent | 2c7b786907a4de4573562ada7785d455e678b214 (diff) | |
download | volse-hubzilla-a2696bea19baa689c96a138365b0145dec906dd6.tar.gz volse-hubzilla-a2696bea19baa689c96a138365b0145dec906dd6.tar.bz2 volse-hubzilla-a2696bea19baa689c96a138365b0145dec906dd6.zip |
Document widget creation.
Diffstat (limited to 'doc/Widgets.md')
-rw-r--r-- | doc/Widgets.md | 16 |
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 /> <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; |