dev-master
9999999-devJivosite widget plugin
MIT
The Requires
by Maxim Tugaev
extension yii2 jivosite
Jivosite widget plugin
Jivosite widget plugin, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist tugmaks/yii2-jivosite "*"
or add, (*4)
"tugmaks/yii2-jivosite": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?= \tugmaks\Jivosite\Chat::widget(['widgetId'=>'XXXXXXX']); ?>
Or you can set widgetId in application params yii-application/common/config/params-local.php, (*7)
<?php return [ 'jivosite.widgetId'=>'ZfIbRy0uHr' ]; ?>
And call widget like this, (*8)
<?= \tugmaks\Jivosite\Chat::widget(); ?>
Widget can be called in any view or layout, (*9)
Jivosite widget plugin
MIT
extension yii2 jivosite