Stub Layout Library
This library implements the absolute bare minimum which is needed to make base layout plugins function. This is ideal if you want to convert existing sites to the new base layout with a minimum of fuss. It can also be used to create layout libraries that don't use or follow the base layout template structure, but where you still want to use a layout plugin.
All you need to do is to call/reference the templates in this library at the correct place. These templates will not add any HTML or CSS or any other output themselves, they will only fire the needed events and use ar::callSuper to allow plugins to hook in to them.
The templates should be referenced like this:
<pinp> $graphicsURL = ar::acquire('settings.graphicsURL'); </pinp> <!doctype html> <html> <head> <title>Your template</title> <pinp> ar::call('view.head.html'); </pinp> <link rel="stylesheet" href="<pinp> echo $graphicsURL; </pinp>layout.css"> <link rel="stylesheet" href="<pinp> echo $graphicsURL; </pinp>style.css"> <meta name="stuff" value="whatever"> </head> <body> Your body contents and code here. <pinp> ar::call('view.foot.html'); </pinp> </body> </html>