1. Home
  2. Docs
  3. Simpods MVC
  4. Tutorials
  5. Ajax
  6. Global Ajax

Global Ajax

ajax.class.php is designed to handle Ajax calls required to register at the frontend and backend at the same time. Its location is /mvc/ajax.class.php. You can overwrite it in Simpods child theme, or edit it directly if you integrate Simpods with a third party child theme.

No Simpods models are available for ajax.class.php. If you want to use some functionalities provided by Simpods, you will have to include the classes you want.

Don’t forget to leave new AJax(); at the end of the file.