This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
deroccha
Hello,
I'm quite new to OctoberCMS and I try to migrate one of my Laravel App as Plugin inside October and I do not find the way to call a controller method from Frontend. So I have a published component which on load initiate a DataTable(Jquery) which should send an ajax request to a controller and should return JSON data. Behind the scenes Page loads with the attached Comonent which try to call via ajax a method called DataTable
oTable2 = $('#datatable_tabletools2').dataTable({
"bRetrieve": true,
"bProcessing": true,
"bDestroy": true,
"bServerSide": true,
"ajax": '/campaigns/datatable',
"iDisplayStart ": 20,
"oLanguage": {
"sProcessing": "
"
}
});
I saw the the ToDoTutorial but over there the ajax Calls are maded with the own ajax Framework so how would I proceed in this case?
Last updated
1-1 of 1