diff options
author | friendica <info@friendica.com> | 2014-03-05 04:28:48 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-05 04:28:48 -0800 |
commit | d58abc0230e07663ce543088c186639d36f82f02 (patch) | |
tree | 474ebb0f31063805d8b95dcddc22d4345c989936 /doc | |
parent | 61f47cd5ed6eee337d9ab30b65844b5118080b76 (diff) | |
download | volse-hubzilla-d58abc0230e07663ce543088c186639d36f82f02.tar.gz volse-hubzilla-d58abc0230e07663ce543088c186639d36f82f02.tar.bz2 volse-hubzilla-d58abc0230e07663ce543088c186639d36f82f02.zip |
add clock widget and correct some doco
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Comanche.md | 8 | ||||
-rw-r--r-- | doc/Widgets.md | 4 | ||||
-rw-r--r-- | doc/comanche.bb | 8 |
3 files changed, 12 insertions, 8 deletions
diff --git a/doc/Comanche.md b/doc/Comanche.md index 658b31ca7..fe122db8c 100644 --- a/doc/Comanche.md +++ b/doc/Comanche.md @@ -98,9 +98,9 @@ Widgets are executable apps provided by the system which you can place on your p -Widgets and arguments are specified with the 'widget' and 'arg' tags. +Widgets and arguments are specified with the 'widget' and 'var' tags. - [widget=recent_visitors][arg=count]24[/arg][/widget] + [widget=recent_visitors][var=count]24[/var][/widget] This loads the "recent_visitors" widget and supplies it with the argument "count" set to "24". @@ -136,8 +136,8 @@ Please note that pasting this example into a layout page is not likely to do any [menu]myfavouritemenu[/menu] [widget=recent_visitors] - [arg=count]24[/arg] - [arg=names_only]1[/arg] + [var=count]24[/var] + [var=names_only]1[/var] [/widget] [widget=tagcloud][/widget] diff --git a/doc/Widgets.md b/doc/Widgets.md index 678c1b7ac..dc7093f8a 100644 --- a/doc/Widgets.md +++ b/doc/Widgets.md @@ -4,6 +4,10 @@ Core Widgets Some/many of these widgets have restrictions which may restrict the type of page where they may appear or may require login +* clock - displays the current time + * args: military (1 or 0) - use 24 hour time as opposed to AM/PM + * + * profile - displays a profile sidebar on pages which load profiles (pages with nickname in the URL) * tagcloud - display a tagcloud of webpage items diff --git a/doc/comanche.bb b/doc/comanche.bb index 1464d809d..e79f9a4c7 100644 --- a/doc/comanche.bb +++ b/doc/comanche.bb @@ -111,9 +111,9 @@ Widgets are executable apps provided by the system which you can place on your p [/code]
-Widgets and arguments are specified with the 'widget' and 'arg' tags.
+Widgets and arguments are specified with the 'widget' and 'var' tags.
[code]
- [widget=recent_visitors][arg=count]24[/arg][/widget]
+ [widget=recent_visitors][var=count]24[/var][/widget]
[/code]
This loads the "recent_visitors" widget and supplies it with the argument "count" set to "24".
@@ -150,8 +150,8 @@ The 'comment' tag is used to delimit comments. These comments will not appear on [menu]myfavouritemenu[/menu]
[widget=recent_visitors]
- [arg=count]24[/arg]
- [arg=names_only]1[/arg]
+ [var=count]24[/var]
+ [var=names_only]1[/var]
[/widget]
[widget=tagcloud][/widget]
|