Q. How can I get my chat widget to work on the Primo VE landing page?
Here's an example of basic Libraryh3lp chat code that could be added to the end of the custom.js file, separate from any other code:
// libraryhelp code
x.src = (document.location.protocol === "https:" ? "https://" : "https://") + "us.libraryh3lp.com/js/libraryh3lp.js?1871"
var y = document.getElementsByTagName("script"); y.parentNode.insertBefore(x, y);
LibraryH3lp has their own FAQ on adding a chat widget for Primo and they are willing to help you create pop-out chat windows and do other things with your code.
There are currently some issues with the js in chat. In GCC's case, the chat functionality goes from being available to unavailable when clicking the "new search" button. It seems as if the js is getting lost.
Joe Riggie reported: "Sometimes, each refresh causes the widget to toggle between displayed and hidden...click and it shows, click again and it disappears. I can't quite replicate it...sometimes it stays hidden through multiple clicks." Lynn tried the following: "I've made two changes to your view:
- added a new default search link including the search scope that will refresh the page
- changed the default behavior to open in a new window (I initially tried the current window by the JS was still being dropped)
This seems to keep the widget displayed."
- Thank you for making your FAQs public. Very helpful!
- "LibraryH3lp ... are willing to help you" Indeed. Their support is fantastic. And they have understood the special structure of Primo VE with js, css and html in separate files.