Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added gridpage layout examples

  • Loading branch information...
commit f86c91c05ae99db9abc27e98e75ac4c8a46a52be 1 parent 2968d1a
Tim icecaster authored
5 README
@@ -17,6 +17,11 @@ http://www.page-elements.com/documentation/
17 17
18 18 Installation Instructions
19 19 -----------------------------------------------
  20 +make sure page elements is in the folder
  21 +"page-elements" in the root of your
  22 +silverstripe setup.
  23 +
  24 +For more info please visit:
20 25 http://www.page-elements.com/installation/
21 26
22 27 Usage Overview
4 _examples/GridPage_1col.ss
... ... @@ -0,0 +1,4 @@
  1 +<div class="grid_12 main">
  2 + $Slot(Main)
  3 +</div>
  4 +<div class="clear"></div>
13 _examples/GridPage_3cols.ss
... ... @@ -0,0 +1,13 @@
  1 +<div class="grid_9 prefix_3 breadcrumbs"><p>$Breadcrumbs</p></div>
  2 +<div class="clear"></div>
  3 +<div class="grid_3 sidebar">
  4 + $Slot(Sidebar)
  5 + &nbsp;
  6 +</div>
  7 +<div class="grid_4 main">
  8 + $Slot(Main)
  9 +</div>
  10 +<div class="grid_4 suffix_1 main">
  11 + $Slot(Right)
  12 +</div>
  13 +<div class="clear"></div>
24 _examples/GridPage_home.ss
... ... @@ -0,0 +1,24 @@
  1 +<div class="grid_12 head alpha omega">
  2 + $Slot(Header)
  3 +</div>
  4 +<div class="clear"></div>
  5 +</div>
  6 +
  7 +<div class="homecontent footer">
  8 + <div class="container_12">
  9 + <div class="content">
  10 + <div class="grid_12">
  11 + $Slot(Main)
  12 + </div>
  13 + <div class="clear"></div>
  14 + <div class="grid_3 suffix_1">
  15 + $Slot(Left)
  16 + </div>
  17 + <div class="grid_3 suffix_1">
  18 + $Slot(Middle)
  19 + </div>
  20 + <div class="grid_3 suffix_1">
  21 + $Slot(Right)
  22 + </div>
  23 + <div class="clear"></div>
  24 + </div>
8 _examples/README
... ... @@ -0,0 +1,8 @@
  1 +copy these files in
  2 +<yourtheme>/templates/Layout/
  3 +
  4 +then open the cms admin, change the page type in the behaviour tab
  5 +to 'gridpage' then save
  6 +and choose the template from the dropdown below.
  7 +
  8 +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.
Something went wrong with that request. Please try again.