silasmontgomery / CakePHP-Full-Calendar-Plugin

Simple and Sleek Event Calendar Plugin for CakePHP
Other
98 stars 60 forks source link

Pull request - works on CakePHP installs other than to / URL #12

Closed srs81 closed 11 years ago

srs81 commented 12 years ago

Hi, I've made a few small changes to the FullCalendar view and the ready.js which allows for this plugin to be installed to a CakePHP application in paths other than just the webroot (/).

For example, if you install this on a CakePHP application at http://localhost/cake/myapp/, the plugin will work "out of the box" with these changes, and without requiring the path to be modified manually in the ready.js file.

I believe this will take care of issues like: https://github.com/silasmontgomery/CakePHP-Full-Calendar-Plugin/issues/9

Please feel free to accept and/or modify if required.