INTRODUCTION
This module allows you to easily perform the necessary configuration of
the Live Helper Chat server from the Drupal administration system for the
correct display of the Chat and FAQ modules on our site, thus allowing
you to integrate with the Live Helper Chat server.
The viewing restriction of these modules is allowed for pages, content types
and user roles.
It allows administrators to inject JS into the page output according to
configurable rules. It is useful to add the JS configuration generated in
the Live Helper Chat server.
REQUIREMENTS
This module has no requirements, only to have knowledge of the domain
where your Live Helper Chat server is located.
INSTALLATION
Install as you would normally install a contributed Drupal module. Visit
https://www.drupal.org/node/1897420 for further information. Alternatively use Composer: composer require 'drupal/chat_livehelperchat'
.
CONFIGURATION
To configure this module, do the following:
- Configure user permissions in Administration » People » Permissions:
- Administer livehelperchat module
Permission to change livehelperchat settings. Give to trusted roles only. - Use PHP for livehelperchat visibility
Permission to set PHP conditions to customize livehelperchat visibility on various pages. Give to trusted roles only. - Allow JS configuration injection in the page header. Permission to allow JS configuration injection in the header of the page generated in the chat server. Give to trusted roles only.
- Administer livehelperchat module
- Add yor configuration LHC in in Administration » Configuration » System » Settings LiveHelperChat
Go to /admin/config/chat_livehelperchat/livehelperchatformsettings and choose the desired configuration for your site. The configuration allows the option to embed the JS code generated in the Live Chat Helper (LHC) server on our page or visually configure for less advanced users the CHAT or the FAQS module comfortably. It is allowed to select the domain where the LHC is hosted, the subject, height, width, position of the chat and the FAQ, etc. Chat display control and FAQ module are allowed by content types, pages or user roles. - Enjoy!!
TROUBLESHOOTING
If the FAQ module is not displayed, check the following.
- The page where it should be shown is not excluded from the display?
- Have you added some sample FAQs to your Live Helper Chat server?
- Is the FAQ module activated in the configuration section?
Project link
https://www.drupal.org/project/chat_livehelperchat
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/chat_livehelperchat.git
Comments
Comment #2
apadernoComment #3
apadernoThank you for applying! Reviewers will check the project and post comments to list what should be changed.
Comment #4
apadernoComment #5
klausiThanks for your contribution! I think we have enough code here so that we can perform a normal user approval when ready.
Comment #6
rohit-rajput-sahab CreditAttribution: rohit-rajput-sahab commentedchat_livehelperchat.module
Function module_exists not found. Line 98
Function php_eval not found. Line 99
These 2 function are not found can you please check it.
Comment #7
rohit-rajput-sahab CreditAttribution: rohit-rajput-sahab commentedIn Drupal 9
When I click on the "Configuration" link. It's showing me an error message.
Page error:-
"The website encountered an unexpected error. Please try again later."
Recent log messages:-
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "entity.manager". in Drupal\Component\DependencyInjection\Container->get() (line 151 of /var/www/html/drupal-9.0.0/core/lib/Drupal/Component/DependencyInjection/Container.php).
Can you please check this an error.
Comment #8
apadernoComment #9
klausi@kiamlaluno: can you comment why you think this should be a single application approval? I think we have enough code here so that we can perform a normal user approval when ready.
Comment #10
apadernoThe users who committed code are two.
Comment #11
mmaldonado CreditAttribution: mmaldonado as a volunteer commentedHello everyone, thanks for your suggestions and work.
I have fixed the bugs and uploaded to the 8.x-1.x branch.
Greetings and I await your reviews.
Comment #12
apadernoComment #14
klausiLooks good to me now.
I think we could fully approve both users that worked on this module, looks like they both contributed significant parts. Will do a single promotion for now, feel free to get back to use when you have another module to promote.
Thanks for your contribution!
I opted into security coverage for you on the project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #15
mmaldonado CreditAttribution: mmaldonado as a volunteer commentedThanks to you for your contributions and good work, I will follow your recommendations and join the group of reviewers.