Hey guys,
We are using Cobalt 8 and Emerald 9 on our site as the foundation for our backend.
Although we are using a lot of your front-end solutions our foundation is build with Backbone.
Right now we have two Backbone views, one of all the categories and one with the record list, so it's very easy to navigate all the categories and view the records thanks to Backbone and AJAX.
Of course we also want to be able to edit our records too, so it's possible to click on edit and get a popup. We are using some overwrites in templates/ourtemplate/com_cobalt/form/
I believe it's default.php, default_buttons.php and default_form_sitecontentsubmission.php
Okay, everything works fine, we can save the changes with an AJAX call although when we do so the server returns the template page again. What we want to do is simply return a JSON array that tells us that everything when fine.
The problem we have is to find a way to send the information to the default.php so we know when not to print the entire page and send a JSON instead.
Do you have a good solution how to do this?
Hey guys,
We are using Cobalt 8 and Emerald 9 on our site as the foundation for our backend.
Although we are using a lot of your front-end solutions our foundation is build with Backbone.
Right now we have two Backbone views, one of all the categories and one with the record list, so it's very easy to navigate all the categories and view the records thanks to Backbone and AJAX.
Of course we also want to be able to edit our records too, so it's possible to click on edit and get a popup. We are using some overwrites in templates/ourtemplate/com_cobalt/form/
I believe it's default.php, default_buttons.php and default_form_sitecontentsubmission.php
Okay, everything works fine, we can save the changes with an AJAX call although when we do so the server returns the template page again. What we want to do is simply return a JSON array that tells us that everything when fine.
The problem we have is to find a way to send the information to the default.php so we know when not to print the entire page and send a JSON instead.
Do you have a good solution how to do this?