diff options
-rw-r--r-- | doc/Widgets.md | 16 | ||||
-rw-r--r-- | doc/main.bb | 2 | ||||
-rw-r--r-- | install/INSTALL.txt | 6 |
3 files changed, 21 insertions, 3 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; 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]
diff --git a/install/INSTALL.txt b/install/INSTALL.txt index a00c3bca3..7c4209896 100644 --- a/install/INSTALL.txt +++ b/install/INSTALL.txt @@ -74,9 +74,11 @@ use SSL, your webserver must not listen on port 443 at all. exec() and proc_open(). - curl, gd (with at least jpeg and png support), mysqli, mbstring, mcrypt, - and openssl extensions. The imagick extension is not required but desirable. + and openssl extensions. The imagick extension is not required but desirable. - - some form of email server or email gateway such that PHP mail() works + - xml extension is required if you want webdav to work. + + - some form of email server or email gateway such that PHP mail() works. - Mysql 5.x or MariaDB or postgres database server. |