diff options
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day1/ShareLayout.page')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day1/ShareLayout.page | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page index d6c4d29f..9cd0410b 100644 --- a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page +++ b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page @@ -28,6 +28,7 @@ For the moment, <tt>MainLayout</tt> only contains a simple header and a footer, <com:THead />
<body>
<com:TForm>
+<div id="page">
<div id="header">
<h1>My PRADO Blog</h1>
@@ -41,6 +42,7 @@ For the moment, <tt>MainLayout</tt> only contains a simple header and a footer, <%= PRADO::poweredByPrado() %>
</div>
+</div>
</com:TForm>
</body>
</html>
@@ -113,7 +115,7 @@ Besides <tt><com:TContent></tt>, we also see another new tag <tt><%@ %& </p>
<p>
-By setting <tt>MasterClass</tt> property as <tt>Application.layouts.MainLayout</tt>, we instruct the <tt>Contact</tt> page to use <tt>MainLayout</tt> as its master. Here, we are using the <a href="http://www.pradosoft.com/demos/quickstart/?page=Fundamentals.Components">namespace format</a> to refer to the <tt>MainLayout</tt> class.
+By setting <tt>MasterClass</tt> property as <tt>Application.layouts.MainLayout</tt>, we instruct the <tt>Contact</tt> page to use <tt>MainLayout</tt> as its master. Here, we are using the <a href="http://www.pradosoft.com/demos/quickstart/?page=Fundamentals.Components">namespace format</a> to refer to the <tt>MainLayout</tt> class.
</p>
<com:InfoBox>
@@ -140,7 +142,7 @@ class Contact extends TPage parent::onPreInit($param);
$this->MasterClass='Path.To.NewLayout';
}
-
+
// ...
}
?>
|