Demo here! Z_Widget is a super-lightweight Zendesk help button/contact form widget using PHP, Twitter Bootstrap, and jQuery. Just add your own API key and credentials to zendesk.php and you'll be up and running in no time.
I value page-load speed, so I built this widget into my own site. It adds 0 extra http requests and maybe 1 to 2 kb to the total page size. The normal Zendesk Widget is great, but it comes at the cost of 2+ MB of JS code, several HTTP requests, at least 2 to 3 seconds of extra total load time on each page load.
- index.php: All the HTML, CSS and JS you'll need
- zendesk.php: Based on Zendesks own PHP API Library with a few adjustments to add the web_widget tag and Submitted from: link
- tick_success.png: A custom made tick to display when a message sends successfully
- Zendesk API PHP Library
- Twitter Bootstrap 3.3.X for the Modal
- jQuery for customer modal interactions
- 1000hz/bootstrap-validator for simple modal validation
- Floating Help Button by Elegant Themes
This widget as no affiliation with Zendesk. The real Zendesk Widget supports much more functionality, like searching help center and file uploads. Use this code at your own risk, be smart and test it thoroughly in your own environment. I take no responsibility for any issues ecountered in any capacity.
This widget was put together by Maurice Kindermann for Golden Carers.