Recent Topics

Request additional Plugin Event: SkinEndHtmlBody()

Started by on May 06, 2017 – Contents updated: May 15, 2017

May 06, 2017 07:42    

Plugin events currently includes the event SkinEndHtmlBody()

However, for "Widget" type plugins the event SkinEndHtmlBody() only fire once

This means if each widget specifies its unique code for SkinEndHtmlBody() it will be ignored all but once.

Can an event be included for "Widget" type plugins that works just like SkinTag() but instead of being rendered in the installed container, it will render before the body closing tag </body>

Why? You always ask for a use case scenario:

a "Widget" adds a thumbnail which if clicked on opens a "hidden" Modal which displays the content as defined by the "Widget". However It is necessary for proper layout that the "hidden" Modal (html code) is inserted BEFORE the body closing tag </body> and NOT with the widget in the "CONTAINER".

I hope this explanation makes sense.

May 15, 2017 09:13

@achillis not sure why you say that SkinEndHtmlBody() gets caught only once. In my tests, it seems to work as expected, so the event is caught for each plugin which implements it (see screenshot below).


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.