Skip to content

Commit

Permalink
added gridpage layout examples
Browse files Browse the repository at this point in the history
  • Loading branch information
icecaster committed Oct 4, 2010
1 parent 2968d1a commit f86c91c
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README
Expand Up @@ -17,6 +17,11 @@ http://www.page-elements.com/documentation/

Installation Instructions
-----------------------------------------------
make sure page elements is in the folder
"page-elements" in the root of your
silverstripe setup.

For more info please visit:
http://www.page-elements.com/installation/

Usage Overview
Expand Down
4 changes: 4 additions & 0 deletions _examples/GridPage_1col.ss
@@ -0,0 +1,4 @@
<div class="grid_12 main">
$Slot(Main)
</div>
<div class="clear"></div>
13 changes: 13 additions & 0 deletions _examples/GridPage_3cols.ss
@@ -0,0 +1,13 @@
<div class="grid_9 prefix_3 breadcrumbs"><p>$Breadcrumbs</p></div>
<div class="clear"></div>
<div class="grid_3 sidebar">
$Slot(Sidebar)
&nbsp;
</div>
<div class="grid_4 main">
$Slot(Main)
</div>
<div class="grid_4 suffix_1 main">
$Slot(Right)
</div>
<div class="clear"></div>
24 changes: 24 additions & 0 deletions _examples/GridPage_home.ss
@@ -0,0 +1,24 @@
<div class="grid_12 head alpha omega">
$Slot(Header)
</div>
<div class="clear"></div>
</div>

<div class="homecontent footer">
<div class="container_12">
<div class="content">
<div class="grid_12">
$Slot(Main)
</div>
<div class="clear"></div>
<div class="grid_3 suffix_1">
$Slot(Left)
</div>
<div class="grid_3 suffix_1">
$Slot(Middle)
</div>
<div class="grid_3 suffix_1">
$Slot(Right)
</div>
<div class="clear"></div>
</div>
8 changes: 8 additions & 0 deletions _examples/README
@@ -0,0 +1,8 @@
copy these files in
<yourtheme>/templates/Layout/

then open the cms admin, change the page type in the behaviour tab
to 'gridpage' then save
and choose the template from the dropdown below.

Please nota that the static "Gridpage_" in the template file name will be stripped in the admin.

0 comments on commit f86c91c

Please sign in to comment.