Comparison

mod_adhoc_test/README.markdown @ 3211:2969ed764fe8

mod_adhoc_test: A module to test dataforms generation and rendering
author Kim Alvefur <zash@zash.se>
date Fri, 03 Aug 2018 19:30:15 +0200
comparison
equal deleted inserted replaced
3210:9505282ad24f 3211:2969ed764fe8
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_test";
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.