Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added gridpage layout examples

  • Loading branch information...
commit f86c91c05ae99db9abc27e98e75ac4c8a46a52be 1 parent 2968d1a
Tim icecaster authored
5 README
View
@@ -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
4 _examples/GridPage_1col.ss
View
@@ -0,0 +1,4 @@
+<div class="grid_12 main">
+ $Slot(Main)
+</div>
+<div class="clear"></div>
13 _examples/GridPage_3cols.ss
View
@@ -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 _examples/GridPage_home.ss
View
@@ -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 _examples/README
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.