Collection display page url not getting mapped properly
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- We have a collection page with web content cards and want to link those cards to the display page URL.
Resolution
-
By default, a Web Content's Display Page selector is set to "Default", but a fresh environment does not have a Default Display Page Template.
You can reach the expected results following the steps below:
1. Go to Design > Page Templates, select the Display Page Templates tab
2. Create a new Display Page Template for Web Content > Basic Web Content, publish the page
3. Using the kebab menu of this Display Page Template, select "Mark as Default"
4. Create a Web Content
5. Create a Manual Collection and add the Web Content to it
6. Create a Content Page
7. Add a Collection Display fragment
8. Select the created manual collection for the fragment
9. Add a heading fragment into the collection fragment
10. Map the Display Page URL to the heading
Did this article resolve your issue ?