optikwebcreative / onwebchat Goto Github PK
View Code? Open in Web Editor NEWAdd onWebChat widget to GRAV
License: MIT License
Add onWebChat widget to GRAV
License: MIT License
I want to just try out this plugin for a contact page, not most pages of the site. I appreciate most sites will want chat enabled on almost every page.
To do this, I will need to edit the frontmatter of almost every page on the site, and also remember to add onwebchat: false
to new pages. I can maybe also set up a page blueprint but I have never tried this. My point is that it's a bit of setup work to just try this plugin out without putting it on every page.
I will probably hack this plugin to add a default_state
property to its config, so that the default behaviour can be easily inverted. I would prefer to make this an official hack for maintenance reasons.
Do you think this is a good concept and would you be happy to merge a PR that does this?
The plugin is not working because the chat window is not shown.
The problem is that the variable default_active is different in 3 files.
It should be the same in blueprints.yaml, onwebchat.php and onwebchat.yaml
Thank you
onWebChat team
JS in partial not pulling the chatid value into the script causing the script to fail.
Hardcoding the value enables the script to work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.