Modifications in Layout

In the layout file we can have "contents" (for editable content) and
"layout_parts" (for when the layout is created from scratch)
This commit is contained in:
chris2tof committed 2011-09-05 01:14:49 +08:00
1 parent b2c0047d0f
commit f4b1d1e182
6 files changed
+43 -48

No files matched your search

+5 -8
View File
@@ -15,22 +15,19 @@
<body>
<!-- example -->
<div id="header_top" class="header">
<r:layout_part id='header_top' class='header' name='header_1'>
</r:layout_part>
This is the first level of header
</div>
<div id="header_bottom" class="header">
<r:layout_part id='header_bottom' class='header' name='header_2'>
</r:layout_part>
This is the second level of header
</div>
<div id="main_content" class="content">
<r:layout_part id="main_content" class='content' name='block_1' editable="true">
</r:layout_part>
<r:content name='content_1'>
</r:content>
</div>
<div id="footer" class="footer">
<r:layout_part id="footer" class='footer' name='footer_1'>
</r:layout_part>
This is the footer
</div>
<!-- END example -->
</body>