Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:yii2:third_party_components [2018/05/16 16:00] smayr [Example] |
systems:yii2:third_party_components [2018/08/14 17:00] (current) smayr [yii2-phpspreadsheet PhpSpreadsheet] |
||
---|---|---|---|
Line 447: | Line 447: | ||
* Pretty URL: http:// | * Pretty URL: http:// | ||
+ | ==== References ==== | ||
+ | * [[systems: | ||
== TinyMCE Editor == | == TinyMCE Editor == | ||
Line 953: | Line 954: | ||
</ | </ | ||
+ | PHPExcel is deprecated. | ||
+ | |||
+ | == yii2-phpspreadsheet PhpSpreadsheet == | ||
+ | Get documentation from: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | Install the extension: | ||
+ | <code bash> | ||
+ | $ composer require sunmoon/ | ||
+ | </ | ||
== DatePicker == | == DatePicker == | ||
* run in your project dir: < | * run in your project dir: < | ||
Line 1152: | Line 1164: | ||
This will try to send up to 100 emails every other minute. | This will try to send up to 100 emails every other minute. | ||
+ | |||
+ | == ReCaptcha == | ||
+ | Install: | ||
+ | <code php> | ||
+ | $ composer require --prefer-dist " | ||
+ | </ | ||
+ | |||
+ | Add to '' | ||
+ | < | ||
+ | //... | ||
+ | $config = [ | ||
+ | //... | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ], | ||
+ | ], | ||
+ | ], | ||
+ | ]; | ||
+ | // | ||
+ | </ | ||
+ | |||
+ | Add to form using reCaptcha: | ||
+ | <code php> | ||
+ | // Remove | ||
+ | <?= $form-> | ||
+ | ' | ||
+ | <div class=" | ||
+ | ]) ?> | ||
+ | | ||
+ | // Add | ||
+ | <?= $form-> | ||
+ | </ | ||
+ | |||
+ | In the model, add this to the rules() and attributeLabels() methods: | ||
+ | <code php> | ||
+ | public function rules() | ||
+ | { | ||
+ | return [ | ||
+ | [[' | ||
+ | //... | ||
+ | // verifyCode needs to be entered correctly | ||
+ | [' | ||
+ | ]; | ||
+ | } | ||
+ | |||
+ | //... | ||
+ | public function attributeLabels() | ||
+ | { | ||
+ | return [ | ||
+ | //... | ||
+ | ' | ||
+ | ]; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | References: [[https:// | ||
+ | |||
+ | == yii2-cookie-consent == | ||
+ | Install: | ||
+ | <code php> | ||
+ | $ composer require cinghie/ | ||
+ | </ | ||
+ | |||
+ | Usage: | ||
+ | <code php> | ||
+ | use cinghie\cookieconsent\widgets\CookieWidget; | ||
+ | |||
+ | <?= CookieWidget:: | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ]); ?> | ||
+ | </ | ||
+ | See: [[https:// | ||
+ | |||
== Yii2 Authorizenet Gateway Extension == | == Yii2 Authorizenet Gateway Extension == | ||
Line 1576: | Line 1669: | ||
* More details: [[https:// | * More details: [[https:// | ||
- | + | ==== References | |
- | === References === | + | |
* [[https:// | * [[https:// | ||
+ | |||