Skip to content

A super-lightweight contact form Zendesk widget based on PHP, Bootstrap, and jQuery.

Notifications You must be signed in to change notification settings

mauricekindermann/z_widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

z_widget

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.

Files included

  • 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

Libraries Used

Disclaimer

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.

Credits

This widget was put together by Maurice Kindermann for Golden Carers.

About

A super-lightweight contact form Zendesk widget based on PHP, Bootstrap, and jQuery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published