Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Information about CMS page layout handles missing #1313

Closed
korostii opened this issue Jul 24, 2017 · 3 comments
Closed

Information about CMS page layout handles missing #1313

korostii opened this issue Jul 24, 2017 · 3 comments
Assignees
Labels
Tracking Created an internal Jira ticket to track work

Comments

@korostii
Copy link
Contributor

Feedback on page: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-overview.html

The short note regarding page layout handles under the "Terms used" section doesn't mention an example of including a CMS page, which, it seems, needs a certain trick to make it work, as shown here:
magento/magento2#10300 (comment)

you will need to use the url-key of the CMS page for the XML layout file.
For example if you have a cms page with the URL Key home then you XML layout file would be cms_page_view_id_home.xml

I believe, this information is quite useful and should be added to the docs.

@jcalcaben jcalcaben self-assigned this Aug 24, 2017
magento-cicd2 pushed a commit that referenced this issue Oct 20, 2017
Update branching notes and formatting for wings
@bdenham
Copy link
Contributor

bdenham commented Feb 8, 2018

I agree that more information about layout handles in general is needed. But I would propose an article that is dedicated to the subject: how to find them, how to use them, why they are important, code examples of usage, etc. I've added a brief reference/example of a CMS page handles in #1699 as mentioned, but much more needs to be written about layout handles in its own topic.

@jcalcaben jcalcaben assigned bdenham and unassigned jcalcaben May 22, 2018
@shrielenee
Copy link
Contributor

Thanks for bringing this to our attention. It looks like @bdenham addressed part of the issue here, by adding reference/example info via #1699.

We are creating an internal ticket to further address the bigger issue of creating a doc page about how to find them, use them, why they are important, etc.

Thanks again for helping out!

@bdenham bdenham added the Tracking Created an internal Jira ticket to track work label Aug 28, 2018
@bdenham
Copy link
Contributor

bdenham commented Aug 28, 2018

Internal ticket number is #MAGEDOC-3124.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Tracking Created an internal Jira ticket to track work
Projects
None yet
Development

No branches or pull requests

4 participants