Plugins - advanced: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) No edit summary |
DenisChenu (talk | contribs) No edit summary |
||
Line 49: | Line 49: | ||
TODO: Add support for tabs in the settings widget. | TODO: Add support for tabs in the settings widget. | ||
[[User:Olle|Olle]] ([[User talk:Olle|talk]]) 15:37, 23 April 2016 (CEST) | |||
@todo : add 'lang" system : show directly html/textarea/input with all language of survey or global settings. Sam start something when save with extra data. | @todo : add 'lang" system : show directly html/textarea/input with all language of survey or global settings. Sam start something when save with extra data. | ||
[[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) | [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) | ||
Any information about plugins and translations? | Any information about plugins and translations? | ||
Line 59: | Line 60: | ||
[[User:Olle|Olle]] ([[User talk:Olle|talk]]) 22:46, 25 April 2016 (CEST) | [[User:Olle|Olle]] ([[User talk:Olle|talk]]) 22:46, 25 April 2016 (CEST) | ||
@todo : bug reported on Feature request. It's a must have. Thii Yii::t directly is better for this | @todo : bug reported on Feature request. It's a must have. Thii Yii::t directly is better for this [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) | ||
[[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) | |||
Another feature request: A member variable that checks for LS version number. | Another feature request: A member variable that checks for LS version number. | ||
Line 67: | Line 66: | ||
[[User:Olle|Olle]] ([[User talk:Olle|talk]]) 23:07, 25 April 2016 (CEST) | [[User:Olle|Olle]] ([[User talk:Olle|talk]]) 23:07, 25 April 2016 (CEST) | ||
Already can be done App()->getConfig("version"); I use it in one of my plugin, but don't remind where. | Already can be done App()->getConfig("version"); I use it in one of my plugin, but don't remind where. [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) | ||
[[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 08:51, 27 April 2016 (CEST) |
Revision as of 08:52, 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)
@todo : add 'lang" system : show directly html/textarea/input with all language of survey or global settings. Sam start something when save with extra data. DenisChenu (talk) 08:51, 27 April 2016 (CEST)
Any information about plugins and translations?
Olle (talk) 22:46, 25 April 2016 (CEST)
@todo : bug reported on Feature request. It's a must have. Thii Yii::t directly is better for this DenisChenu (talk) 08:51, 27 April 2016 (CEST)
Another feature request: A member variable that checks for LS version number.
Olle (talk) 23:07, 25 April 2016 (CEST)
Already can be done App()->getConfig("version"); I use it in one of my plugin, but don't remind where. DenisChenu (talk) 08:51, 27 April 2016 (CEST)