Plugin Method showSlot()

public function showSlot() {
    
    //...your PHP code...//
}

Summary

Provides you with the means to display a Plugin in a Slot.

Where You Can Use It

In your pluggable modules, from Zenario 7.0 onwards.

Description

showSlot() is called by the CMS whenever it needs to display your Plugin in a Slot. It's your chance to display whatever you like, and have it appear on the page!

Note that if you include an inline <script> tag, an inline <style> tag or a <link> tag in your output, this will disable AJAX reloading for your Plugin. We recommend using a plugin.js file and a Swatch instead.

Return Value

No return value is needed.

Example

public function showSlot() {
    echo 'Hello World';
}

This is a simple "Hello World" example.