Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Documentation (from r105005)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112426 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 352d3083395c5afb0523a69c087f55a3b2b57a69 1 parent a66c159
@chillu chillu authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  core/SSViewer.php
View
3  core/SSViewer.php
@@ -381,7 +381,8 @@ public function process($item, $cache = null) {
echo "</pre>";
}
-
+ // Makes the rendered sub-templates available on the parent item,
+ // through $Content and $Layout placeholders.
foreach(array('Content', 'Layout') as $subtemplate) {
if(isset($this->chosenTemplates[$subtemplate])) {
$subtemplateViewer = new SSViewer($this->chosenTemplates[$subtemplate]);

0 comments on commit 352d308

Please sign in to comment.
Something went wrong with that request. Please try again.