showSlot()public function showSlot() {
//...your PHP code...//
}
Provides you with the means to display a Plugin in a Slot.
In your pluggable modules, from Zenario 7.0 onwards.
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.
No return value is needed.
public function showSlot() {
echo 'Hello World';
}
This is a simple "Hello World" example.