tugmaks/yii2-jivosite

Jivosite widget plugin

Installs: 527

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2018-12-21 10:47 UTC

This package is auto-updated.

Last update: 2024-05-21 22:51:51 UTC


README

Jivosite widget plugin

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tugmaks/yii2-jivosite "*"

or add

"tugmaks/yii2-jivosite": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \tugmaks\Jivosite\Chat::widget(['widgetId'=>'XXXXXXX']); ?>

Or you can set widgetId in application params yii-application/common/config/params-local.php

<?php
return [
    'jivosite.widgetId'=>'ZfIbRy0uHr'
]; ?>

And call widget like this

<?= \tugmaks\Jivosite\Chat::widget(); ?>

Widget can be called in any view or layout