Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.2 CE: how to enable asset publisher detail page
Alessandro Candini, modified 6 Years ago.
Regular Member
Posts: 130
Join Date: 10/17/15
Recent Posts
With Liferay 6.2 , to create an "Item list/Item detail" pattern, I were used to adopt the following:
Is this setting hidden by a property/configuration?
Or even better, is there a new pattern to follow for Liferay 7.2 in order to achieve the same goal?
Thank you so much.
- Create a "List Page" with an Asset Publisher, collecting, for example, my custom "News" Web Content; let's say a page with URL /news
- Create a child page used as "Detail Page" (/news/news-detail) to show every News object content; inside it, another Asset Publisher with "Set as the Default Asset Publisher for This Page" checked
- For every Web Content "News" , I were used to define /news/news-detail as display page: in this way, clicking on an Item in /news page, I was getting the /-/title-of-my-news URL and the body Web Content selected
Is this setting hidden by a property/configuration?
Or even better, is there a new pattern to follow for Liferay 7.2 in order to achieve the same goal?
Thank you so much.
Alessandro Candini:
I guess you're looking for this setting (see attached screenshot), where you point at the page with a default asset publisher.
Now, with Liferay 7.2 CE GA1, this pattern seems not to be valid anymore: I cannot find anywhere the Page setting for Web Content objects and so I cannot reproduce this behaviour.
Is this setting hidden by a property/configuration?
Attachments:
Alessandro Candini, modified 6 Years ago.
Regular Member
Posts: 130
Join Date: 10/17/15
Recent Posts
Yes, Olaf, you're right...I was confused by the "Display Play Template" label: I was trying to manage it creating a "Display Page Template", but this is unnecessary.
Selecting "Specific Display Page Templates" and clicking button "Select", I had to switch to second tab (screenshot) and choose a normal page from the tree, as always.
No templates needed.
Thank you,
Alessandro
Selecting "Specific Display Page Templates" and clicking button "Select", I had to switch to second tab (screenshot) and choose a normal page from the tree, as always.
No templates needed.
Thank you,
Alessandro
Attachments:
Biniword Aweke Konjit, modified 5 Years ago.
Junior Member
Posts: 60
Join Date: 11/14/12
Recent Posts
Is there any one who solves Liferay display page template redirect problem .I created a display page template and mapped to the web content article .so when I access it through asset publisher , it asks login permission for guest view . how can I solve this problem .