Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f3640c

Browse files
authored
Update mage-for-dev-4.html
A couple of typos and file name for app/design/frontend/base/default/template/page/1column.phtml was incorrect.
1 parent 3a57a84 commit 8f3640c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/m1x/magefordev/mage-for-dev-4.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ <h2>Nesting Blocks</h2>
9595

9696
<p>Blocks calling Blocks calling Blocks is how the entire HTML layout for your page is created. Take a look at the one column layout Template.</p>
9797

98-
<pre>File: app/design/frontend/base/default/template/page/one-column.phtml</pre>
98+
<pre>File: app/design/frontend/base/default/template/page/1column.phtml</pre>
9999

100100
<pre>
101101
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
102-
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="?php echo $this->getLang() ?>" lang="&lt;?php echo $this->getLang() ?>">
102+
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="&lt;?php echo $this->getLang() ?>" lang="&lt;?php echo $this->getLang() ?>">
103103
&lt;head>
104104
&lt;?php echo $this->getChildHtml('head') ?>
105105
&lt;/head>
@@ -110,7 +110,7 @@ <h2>Nesting Blocks</h2>
110110
&lt;/body>
111111
</pre>
112112

113-
<p>The template itself is only 11 lines long. However, each call to <tt>$this->getChildHtml(...)</tt> will include and render another Block. These Blocks will, in turn, use <tt>getChildHtml</tt> to render other Blocks. It's Blocks all the way down.</p>
113+
<p>The template itself is only 28 lines long. However, each call to <tt>$this->getChildHtml(...)</tt> will include and render another Block. These Blocks will, in turn, use <tt>getChildHtml</tt> to render other Blocks. It's Blocks all the way down.</p>
114114

115115
<h2>The Layout</h2>
116116

0 commit comments

Comments
 (0)