Software / code / prosody-modules
Comparison
mod_adhoc_dataforms_demo/README.markdown @ 3212:69b6910f3bfc
mod_adhoc_test -> mod_adhoc_dataforms_demo
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 03 Aug 2018 19:40:24 +0200 |
| parent | 3211:mod_adhoc_test/README.markdown@2969ed764fe8 |
| child | 3214:453ec2938153 |
comparison
equal
deleted
inserted
replaced
| 3211:2969ed764fe8 | 3212:69b6910f3bfc |
|---|---|
| 1 # Introduction | |
| 2 | |
| 3 This module adds an [Ad-Hoc command][xep0050] with a demo [data | |
| 4 form][xep0004] that includes all kinds of fields. It's meant to help | |
| 5 debug both Prosodys | |
| 6 [`util.dataforms`][doc:developers:util:dataforms] library and | |
| 7 clients, eg seeing how various field types are rendered. | |
| 8 | |
| 9 # Configuration | |
| 10 | |
| 11 Simply add it to [`modules_enabled`][doc:modules_enabled] like any | |
| 12 other module. | |
| 13 | |
| 14 ``` {.lua} | |
| 15 modules_enabled = { | |
| 16 -- All your other modules etc | |
| 17 "adhoc_dataforms_demo"; | |
| 18 } | |
| 19 ``` | |
| 20 | |
| 21 # Usage | |
| 22 | |
| 23 In your Ad-Hoc capable client, look for **Dataforms Demo**, and execute | |
| 24 it. You should see a form with various kinds of fields. |