Skip to content

Commit d52bbf1

Browse files
jeff-matthewsatwixfirstershrieleneeabrarpathan19
authored
Publish changes from the 2020 global contribution day event (magento#7005)
* magento/devdocs#: Configure Xdebug. Wrong port. https://devdocs.magento.com/cloud/howtos/debug.html * magento#6971: Container section `label` has insufficient description https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/xml-instructions.html * Editorial updates * Revert inaccurate change * Update widget_gallery.md * Update widget_gallery.md * Update widget_gallery.md * Update widget_gallery.md * Update widget_gallery.md * Update product-layouts.md * Update product-layouts.md * Update src/guides/v2.3/frontend-dev-guide/layouts/product-layouts.md Co-Authored-By: Jeff Matthews <[email protected]> * Update src/guides/v2.3/frontend-dev-guide/layouts/product-layouts.md Co-Authored-By: Jeff Matthews <[email protected]> * Update src/guides/v2.3/frontend-dev-guide/layouts/product-layouts.md Co-Authored-By: Jeff Matthews <[email protected]> Co-authored-by: Alex Taranovsky <[email protected]> Co-authored-by: Shrie Spangler <[email protected]> Co-authored-by: Abrar Pathan <[email protected]>
1 parent 565d15b commit d52bbf1

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

src/cloud/howtos/debug.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ To configure PhpStorm to work with Xdebug:
113113
- Production: `/app/<project_code>/`
114114
- Staging: `/app/<project_code>_stg/`
115115

116-
1. Change the Xdebug port to 9001 in the **Languages & Frameworks** > **PHP** > **Debug** > **Xdebug** > **Debug Port** panel.
116+
1. Change the Xdebug port to 9000 in the **Languages & Frameworks** > **PHP** > **Debug** > **Xdebug** > **Debug Port** panel.
117117

118118
1. Click **Apply**.
119119

src/guides/v2.3/extension-dev-guide/build/create_component.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The smallest working `module.xml` file would look something like this:
2828
</config>
2929
```
3030

31-
The `name` parameter defines the name of your component. It is required for all components. If you use [Declarative Schema]({{ page.baseurl }}/extension-dev-guide/declarative-schema/index.html) to help manage the installation and upgrade processes for your component, then you must also add the `setup_version` parameter to the `module` line. Set the `setup_version` value to your module's [database schema](https://glossary.magento.com/database-schema) version. Omit the `setup_version` parameter if you do not use [Declarative Schema]({{ page.baseurl }}/extension-dev-guide/declarative-schema/index.html).
31+
The `name` parameter defines the name of your component. It is required for all components. If you do not use [Declarative Schema]({{ page.baseurl }}/extension-dev-guide/declarative-schema/index.html) to help manage the installation and upgrade processes for your component, then you must also add the `setup_version` parameter to the `module` line. Set the `setup_version` value to your module's [database schema](https://glossary.magento.com/database-schema) version. Omit the `setup_version` parameter if you do not use [Declarative Schema]({{ page.baseurl }}/extension-dev-guide/declarative-schema/index.html).
3232

3333
{:.bs-callout-info}
3434
Avoid using "Ui" for your custom module name, because the `%Vendor%_Ui` notation, required when specifying paths, might cause issues.

src/guides/v2.3/frontend-dev-guide/layouts/product-layouts.md

+20
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@ Layout file | Description
2121
`catalog_product_view_type_simple.xml` | Layout from this file is applied to `simple` product only
2222
`catalog_product_view_type_virtual.xml` | Layout from this file is applied to `virtual` product only
2323

24+
## Customize product view pages
25+
26+
Use containers on the product page to structure content in the layout. You can reference the container and add blocks to it.
27+
28+
Containers assign content structure to a page using container tags within a layout XML file. A container has no additional content except the content of included elements. Examples of containers include:
29+
30+
* `product.info.main`
31+
* `product.info.price`
32+
* `product.info.stock.sku`
33+
* `product.info.form.content`
34+
* `product.info.extrahint`
35+
* `product.info.social`
36+
* `product.info.media`
37+
38+
### Example
39+
40+
```xml
41+
<move element="product.info.social" destination="product.info.main" before="product.info.price"/>
42+
```
43+
2444
## Checkout cart configure page
2545

2646
Layout file | Description

src/guides/v2.3/frontend-dev-guide/layouts/xml-instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ We recommend always adding a `name` to containers. Otherwise, it is given a rand
9191
| Attribute | Description | Values | Required? |
9292
|:------- |:------ |:------ |:------ |
9393
| `name` | A name that can be used to address the container in which this attribute is assigned. The name must be unique per generated page. If not specified, it will be autogenerated. | A-Z, a-z, 0-9, underscore (_), period (.), dash (-). Should start with a letter. Case-sensitive. | No |
94-
| `label` | An arbitrary name to display in the web browser. | Any | No |
94+
| `label` | Describes the purpose of the container. | Any | No |
9595
| `before` | Used to position the container before an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block before all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Element name or dash (`-`) | No |
9696
| `after` | Used to position the container after an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block after all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Element name or dash (-). | No |
9797
| `as` | An alias name that serves as identifier in the scope of the parent element. | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Case-sensitive. | No |

src/guides/v2.3/javascript-dev-guide/widgets/widget_gallery.md

+6
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,12 @@ Sliding direction of thumbnails in the fullscreen view.
356356
* `vertical`
357357
* `horizontal`
358358

359+
```xml
360+
<var name="gallery">
361+
<var name="navdir">horizontal</var> <!-- Sliding direction of thumbnails (horizontal/vertical) -->
362+
</var>
363+
```
364+
359365
#### `fullscreen/navarrows` {#full_navarrows}
360366

361367
Show/hide arrows in thumb navigation.

0 commit comments

Comments
 (0)