| | 111 | == What about $sf_data->getRaw('sf_content') ? == |
|---|
| | 112 | |
|---|
| | 113 | There are two ways of using the simple page controller: |
|---|
| | 114 | |
|---|
| | 115 | 1. Don't use sf_content at all, fully replace it by the include_simplepage_area() helper. |
|---|
| | 116 | * Use an area 'main' for example and put the appropriate action into it. |
|---|
| | 117 | * Useful if you want to fully control page areas by the configuration, possibly by your own driver. |
|---|
| | 118 | |
|---|
| | 119 | 2. Mix <?php echo $sf_data->getRaw('sf_content') ?> with include_simplepage_area(). |
|---|
| | 120 | |
|---|
| | 121 | * This is useful if you have a sidebar and you only want to control the contents of it separate from the action/template! |
|---|
| | 122 | * In that case use the "page action" as an ordinary action. |
|---|
| | 123 | * See "sf_content" as your main area and only define area 'sidebar' for example. |
|---|
| | 124 | * Use the default driver and matching pageFoo.yml config files. |
|---|
| | 125 | |
|---|
| | 126 | |
|---|