Zenario

Login

Create account

Open search
X
  • Documentation home
  • Sysadmin
    • Directory structure
    • Running multiple sites
    • Multi-site administrator authentication
    • Upgrading Zenario (quick)
    • Upgrading Zenario (cautious)
    • Relocating a site
    • Software version numbers
  • Designer
    • Creating a layout
    • Creating a skin
    • Structuring a new page
    • CSS on pages and layouts
    • Twig for server-side code
    • Twig for smart emails
  • Developer
    • Quick-start guides
    • TUIX elements and properties
    • Methods you write
    • Core function/variable reference
    • Plugin function/variable reference
Documentation home Developer Quick-start guides How do I... How do I make a plugin which makes an Ajax call to the server?
 
 

How do I make plugin which makes an AJAX call to the server?

If you want to reload a plugin using AJAX, you can do this very easily by using either the refreshPluginSlotAnchor() function or the refreshPluginSlotJS() function to generate the html/JavaScript needed.

If you want to send an AJAX request then you can use the pluginAJAXLink() function in PHP, or the AJAX() or JSON() functions in JavaScript, to call your handlePluginAJAX() method.

 
 
 
  • Quick-start guides
    • Basic concepts of modules
    • How to write a pluggable module
    • Modules with an Admin Interface
    • Modules that extend other Modules
    • Advanced concepts
    • How do I...
      • How do I make a module which creates module-wide settings?
      • How do I make a module to have plugin settings?
      • How do I make a plugin which makes an Ajax call to the server?
      • How do I create a new content type?
      • How do I make my module call a method in another module?
      • How do I create a new panel in organiser?
      • How do I add a column to another module's panel in Organizer?
      • How do I create a new admin box?
      • How do I add a field to another module's admin box?
      • How do I write JavaScript functions for my plugins?
      • How do I hide navigation or buttons from admins without permission?
    • Standards and security
    • Developer Tools
  • TUIX elements and properties
  • Methods you write
  • Core function/variable reference
  • Plugin function/variable reference
 
 
Home | Sitemap | Privacy | Contact us | Manage cookies
Tribal Systems logo website design
Copyright © Tribal Ltd. 1997-2026