Skip to content

Commit d3eea58

Browse files
authored
Merge pull request #17 from snowcore/fix/layout-init
Minor typos corrected
2 parents c9e4f3b + 50a5af8 commit d3eea58

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

2. Request Flow Processing/4. Determine the layout initialization process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ View\Layout::*build* = View\Layout\Builder::*build* - once
1010

1111
1. generateLayoutXml - joins `_updates` into XML string, loads XML object, initiailzes `_elements` = []
1212

13-
* layout.generaXml
13+
* layout.generateXml
1414
* no events
1515

1616
1. generateLayoutBlocks - layout.generateElements
@@ -213,11 +213,11 @@ Only containers
213213

214214

215215
### page result.renderResult:
216-
- View\Resuls\PageFactory.create
216+
- View\Result\PageFactory.create
217217
- View\Result\Page::addDefaultHandle - `default`, `$fullActionName`
218218

219219
- View\Page\Config.publicBuild = build
220-
- View\Page\Builder.build - extends View\Layout\Builder, custom readPageLayout on step generatelayoutBlocks
220+
- View\Page\Builder.build - extends View\Layout\Builder, custom readPageLayout on step generateLayoutBlocks
221221

222222
* (inherit) loadLayoutUpdates
223223
* (inherit) generateLayoutXml

3. Customizing the Magento UI/1. Demonstrate ability to utilize themes and the template structure.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ All same as layout, but subDir 'page_layout':
244244
<theme>*_*/page_layout/override/theme/*/*/*.xml
245245
```
246246

247-
View\Layout\ProcessorInterface = View\Model\Layout\Merg
247+
View\Layout\ProcessorInterface = View\Model\Layout\Merge
248248
- $updates - array of all found string XML file contents E.g.
249249
```
250250
updates[] = '<body><block name="someBlock"...'
@@ -260,8 +260,8 @@ View\Layout\ProcessorInterface = View\Model\Layout\Merg
260260
- create new theme from scratch without parent when design is very different from existing
261261
- inherit new theme to add smaller customizations - move, hide, reorder elements, change block arguments, html attributes
262262
- new theme can be assigned to specific store view, for example for b2b store
263-
- theme can apply dynamically based on browser user agent as exception - enter regexp
264-
Content > Design > Implementation > [Edit] > Design Rule > User Agent Rules
263+
- theme can apply dynamically based on browser user agent as exception - enter regexp in
264+
_Content > Design > Implementation > [Edit] > Design Rule > User Agent Rules_
265265
Full page cache and design exception:
266266
```
267267
plugin magento-store/etc/di.xml:
@@ -285,9 +285,9 @@ View\Layout\ProcessorInterface = View\Model\Layout\Merg
285285

286286
theme.xml - parent
287287

288-
Determine theme hierarch of existing project:
288+
Determine theme hierarchy of existing project:
289289

290-
- Go to Content > Design > Configuration
290+
- Go to _Content > Design > Configuration_
291291
- Check "Theme Name" column on row with store view under question
292292
- find paths to all available themes in app/etc/design/frontend/* or vendor/*/theme-* (conventionally)
293293
or find programmatically:

0 commit comments

Comments
 (0)