netants / whatsrabbit-live-chat
This plugin provides a What'sRabbit Live-chat widget for your CraftCMS website
Installs: 359
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Type:craft-plugin
Requires
- craftcms/cms: ^4.4
- whatsrabbit/live-chat-plugin-core: ^1.0
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-asserts: ^3.0
- codeception/module-yii2: ^1.1
- mockery/mockery: ^1.6
- php-mock/php-mock-mockery: ^1.4
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.7
- vlucas/phpdotenv: ^5.5
This package is not auto-updated.
Last update: 2024-04-29 14:50:24 UTC
README
This plugin injects a Live-chat widget into your website (when necessary config is set) via a Twig hook used in your page template.
Installing the plugin
- Require the plugin via composer
composer require netants/whatsrabbit-live-chat
- Install the plugin in your CraftCMS dashboard
- Login in your CraftCMS dashbord
- Click "Settings" in the left sidebar
- Click "Plugins"
- Click on the cog icon on the right side and click "Install"
- Within the sidebar on the left, you'll see an envelope icon with "What'sRabbit Live-chat" next to it.
- Click on it
- Now, you'll see a number of fields that require value.
API Key
The api key provided by What'sRabbitAPI Secret
The api secret provided by What'sRabbitAvatar
An avatar which will show in the Live-chat widget on your websiteTitle
The title which will show in the Live-chat widget on your websiteDescription
The description/short text which will show in the Live-chat widget on your websiteWhatsApp URL
The WhatsApp button in the Live-chat widget will redirect to this URL when a user does not want to start a Live-chat
- Now it's time to add the following Twig hook to your page template:
{% hook 'whatsrabbit-live-chat' %}
. - Once all of these steps have been done, the Live-chat widget will show on your website and you can start with receiving Live-chats within your What'sRabbit application.