Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/sbboke.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:409) in /www/wwwroot/sbboke.com/wp-content/themes/pacify/content-single.php on line 5

Magento2开发教程九-在线聊天Live Chat Module-Tawk安装使用

1 源码安装

Manual installation

  1. Download the extension installation files here: https://github.com/tawk/tawk-magento-2/archive/master.zip, 本地下载 : tawk-magento-2-master
  2. Extract the tawk-magento-2-master/app folder from the package
  3. Copy the  tawk-magento-2-master/app folder to the root folder of your website (it will ask you to overwrite the existing folder, just say yes as it will only add the contents of the folder to the root directory)

Standard installation

  1. Be sure that Composer is installed. If not you can install it by entering in your website root directory and executing this command: curl -sS https://getcomposer.org/installer | php
  2. When the composer has been installed, open it and type: php composer.phar require tawk/widget

2 命令部署

When that is done, you will now need to execute these command lines from your website root directory:

  1. php bin/magento module:enable Tawk_Widget
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:static-content:deploy
  4. php bin/magento cache:clean

Done!

3 获取安装源码或链接

登陆https://www.tawk.to/, 在后台系统找到, 如下源码或者接口安装到你的站点即可.

4 注意事项和问题解决

在安装使用过程中注意:
1,Magento2页面出现空白, 或者出现错误, 很多情况下是文件权限问题或者缓存问题
可以通过清除缓存(包括浏览器缓存),更改文件权限解决

2,Magento2在安装新的插件或者模块的时候一定要注意文件的读写权限问题,
权限设置不当会导致站点生成静态文件和缓存的时候出现有些文件生成失败,
导致网页加载文件失败,从而导致插件或组件功能异常.

相关文章

0 0 投票数
文章评分
订阅评论
提醒
0 评论
内联反馈
查看所有评论