http://groups.google.com/group/diem-users/browse_thread/thread/f601324b6dedbf2a/a665eae7b14bb839?show_docid=a665eae7b14bb839
Diem uses Areas (defined in pageSuccess.php by the renderArea() calls) to contain your zones. Each area gets one zone by default. You drop your widgets in these zones and can even add extra zones to the areas. There are global areas and page-specific ones. Global areas stay on each page using the same layout while page specific areas are custom for each page. In Diem 5.0 only the content area is page specific. In Diem 5.1 you can define global or page areas by their name (eg. layout.top or page.content). You can define different layouts by adding them in the admin and creating the corresponding template files.
This is in a nutshell, you'll find more information on the Diem documentation chapter about Layout and Templating. The rest is handled by CSS.
##############
http://diem-project.org/diem-5-1/doc/en/reference-book/layout-and-templating
Areas customization
Areas specified in the above example are the default ones, but you can create as many areas you want, just use unique name for them. Additionally you can specify areas binding to the layout or pages by using prefix along with area's name:
echo $helper->renderArea('layout.banner');
echo $helper->renderArea('page.otherPageSpecificArea');
On this example above the banner area will be the same for all pages using our layout, and otherPageSpecificArea area will be different for each page using this layout.
Title:
Symfony - Diem - Layout and templating
Description:
http://groups.google.com/group/diem-users/browse_thread/thread/f601324b6dedbf2a/a665eae7b14bb839?show_docid=a665eae7b14bb839 Diem uses Are...
...
Rating:
4