|Template updates [Thursday, 02 April 2009 19:16]|
|Written by Dan Brown|
Well it's less than 3 days since 1.1 launched and we've surprised ourselves by having the template system for 1.2 half done already. The rewrite really helped for this as we had shifted most of the display code out to seperate functions already and just had to convert those.
These new tags will get replaced when the page is generated. Unlike some systems PHP knowledge is not required for template designers.
<moatag> is used to insert a new fragment, in this case component_breadcrumb_spacer.html is associated with the Breadcrumbspacer tag. Some of the tags automatically loop, for example the BreadcrumbList tag loops through all galleries from current to the root and inserts one of these breadcrumb nodes.
<moavar> is replaced by direct values.In this case to insert the gallery id and name for each breadcrumb node.
We have the image, gallery, header and footer parts finished for the default template. We still have the admin and login/out pages to go but these are simpler so shouldn't take long. Then we can make a couple of example templates and will post again with a few screenshots.