showSingleSlotLink()
function module_class_name.showSingleSlotLink(slotNameOrContainedElement, requests, hideLayout, cID, cType)
This generates a link to show your plugin alone on the current page.
Anywhere in your JavaScript code in the front-end. From Zenario 7.0.6 onwards.
This function returns a URL to the current page and the current slot.
When this URL is viewed, the current page and only the current slot will be displayed.
slotNameOrContainedElement
The name of the slot on the current page to reload.
Alternately, you can pass in an element from the slot, and the CMS will look up the name of the slot from that.
requests
Either a request string, or an object with the requests as keys/values.
hideLayout
Whether to hide the layout around the slot.
If the layout is shown, the usual HTML structure of the page will appear around your plugin and it will have its usual CSS styles applied.
If the layout is hidden, the normal page <head> and <body> will be displayed, but no other HTML will be generated except for the output of your plugin.
A URL to call your showSlot() method with the provided requests.