Magento2开发教程NO9-在线聊天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/, 在后台系统找到, 如下源码或者接口安装到你的站点即可.
2017-07-19T03-58-35.007Z

4 注意事项和问题解决

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

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

郑重声明:

1 本资源来源于互联网,资源的版权归资源原作者所持有,受《中华人民共和国著作权法》等相关法律保护。

2 由于无法和原作者取得联系,所以上传的部分资源无法先通过原作者的同意就分享给大家了,如本资源侵犯了您(原作者)的权益,请联系我们(微信号 xiaohaimei1989),我们会立马删除您的资源,并向您表达诚挚的歉意!

3 本站是一个公益型网站,分享资源的目的在于传播知识,分享知识,收取一点点打赏的辛苦费是用于网站的日常运营开支,并非用于商业用途。

4 本站资源只提供学习和参考研究使用,使用过后请在第一时间内删除。本站不承担资源被单位或个人商用带来的法律责任。

发表评论