Plugins - advanced: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) No edit summary |
DenisChenu (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
| <code>logo</code> || Logo to what? Put a logo in HTML flow : near same than 'info' type | | <code>logo</code> || Logo to what? Put a logo in HTML flow : near same than 'info' type | ||
|- | |- | ||
| <code>string</code> || Enter string | | <code>string</code> || Enter string, htmlOptions needed for HTML5 validation || https://github.com/SondagesPro/LS-exportCompleteAnswers/blob/master/exportCompleteAnswers.php#L64 | ||
|- | |- | ||
| <code> | | <code>float/integer</code> || Enter a number | ||
|- | |- | ||
| <code>html</code> || a textearea with html editor for admin user (or public user ?) | | <code>html</code> || a textearea with html editor for admin user (or public user ?) | ||
|- | |- | ||
| <code>choice</code> || choice : select box | | <code>choice</code> || choice : select box, need htmlOptions (multiple) || https://github.com/SondagesPro/LS-moreAccessibility/blob/master/moreAccessibility.php#L32 , can be multiple. | ||
|- | |- | ||
| <code>relevance</code> || ? | | <code>relevance</code> || ? | ||
|- | |- | ||
| <code>password</code> || A password | | <code>password</code> || A password : to fix : don't show it in HTML flow. || for another tool (smtp/API ... etc) | ||
|- | |- | ||
| <code>info</code> || Show information in the settings || | | <code>info</code> || Show information in the settings || |
Revision as of 08:47, 27 April 2016
Add a picture to show how each setting type look like.
Olle (talk) 23:36, 22 April 2016 (CEST)
TODO: Add information of each setting type:
- logo
- string
- html
- choice
- relevance
- info
should rather be:
Setting type | Description | Example usage |
---|---|---|
logo |
Logo to what? Put a logo in HTML flow : near same than 'info' type | |
string |
Enter string, htmlOptions needed for HTML5 validation | https://github.com/SondagesPro/LS-exportCompleteAnswers/blob/master/exportCompleteAnswers.php#L64 |
float/integer |
Enter a number | |
html |
a textearea with html editor for admin user (or public user ?) | |
choice |
choice : select box, need htmlOptions (multiple) | https://github.com/SondagesPro/LS-moreAccessibility/blob/master/moreAccessibility.php#L32 , can be multiple. |
relevance |
? | |
password |
A password : to fix : don't show it in HTML flow. | for another tool (smtp/API ... etc) |
info |
Show information in the settings |
protected $settings = array(
'PluginName_settingName' => array(
'type' => 'info',
'content' => 'This is some info'
)
);
|
Olle (talk) 23:44, 22 April 2016 (CEST)
We need a way to center info, or style it better by default. Also, it should use Bootstrap form-horizontal, the labels are not centered vertically as should.
Olle (talk) 00:17, 23 April 2016 (CEST)
TODO: Add support for tabs in the settings widget.
Olle (talk) 15:37, 23 April 2016 (CEST)
Any information about plugins and translations?
Olle (talk) 22:46, 25 April 2016 (CEST)
Another feature request: A member variable that checks for LS version number.