I'm using the include_contentheader template to add affiliate banners at the top of the content wrapper as suggested in Adrian's luna template layout guide.
To get this to work, I had to modify the template so that the if-endif block is inside the div component. This will now support both error/info messages and other content. Perhaps GT will update the default template accordingly.
<div id="contentheader">
<%if error or message~%>
<%if error%><div class="error"><%error%></div><%endif%>
<%if message%><div class="message"><%message%></div><%endif%>
<%~endif%>
<!-- banner links -->
</div>
Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
To get this to work, I had to modify the template so that the if-endif block is inside the div component. This will now support both error/info messages and other content. Perhaps GT will update the default template accordingly.
Code:
<div id="contentheader">
<%if error or message~%>
<%if error%><div class="error"><%error%></div><%endif%>
<%if message%><div class="message"><%message%></div><%endif%>
<%~endif%>
<!-- banner links -->
</div>
Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.