Alerts Overlay

I wonder how to create custom alerts for the Overlay.

I want to create a download link, but have to go through the overlay and confirm some data ....

Someone has a base of how to create custom overlay?
 
It's basically a full paged template, so create a custom template, put the right info in there (compare to other overlay templates) and call it with the class="OverlayTrigger" (iirc) .. that should do the trick.

This way the page can load individually, or it can load the template's content in an overlay.

I don't remember is a Route has to be defined, my gut says yes.
 
I've put this in the template: ad_above_top_breadcrumb
Code:
<a href="{xen:link overlay}" class="OverlayTrigger" data-cacheOverlay="true" title="{xen:phrase xenfans_overlaypage}">Overlay!</a>

Which, when clicked, will load the route "overlay" in an overlay.

I've made a plugin, get the .zip, unpack to library/XenFans/OverlayPage/etc
And import the .xml file.

The template you can edit is: xenfans_overlaypage

If you want a different route you can use Jake Bunce his mod to change routs, or edit the plugin manually.

Resource is available on my site here: http://xenfans.com/threads/xenfans-overlay-page.1927/
(no registration required to get the .zip)

I have no further time to help, this should hopefully get you started.
 
Top Bottom