Actions

Talk

Talk:Plugins - advanced

From LimeSurvey Manual

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 Enter a relevance equation (this is basically a text editor++ think syntax highlighting / checking).
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)