Page 1 of 1
Re: opencart calendar help
Posted: Thu Feb 12, 2015 6:10 am
by Celauran
That second file is just echoing out some static values as JSON, so it isn't really helpful. What specifically are you having trouble with?
Re: opencart calendar help
Posted: Thu Feb 12, 2015 1:37 pm
by Celauran
I don't really know OpenCart or the structure of your application, but I don't see what that JSON file really has to do with anything. If your calendar requires JSON input, your query method can just
json_encode the results.
Re: opencart calendar help
Posted: Thu Feb 12, 2015 2:37 pm
by Celauran
Again, hard to say for certain without digging into the code, but there's clearly a URL in the JS which references a JSON file. You should be able to leverage that, either by changing the file itself, or modifying the endpoint from which it reads its input. Was no documentation provided, or is none otherwise available?