Adobe-Marketing-Cloud / aem-sample-we-retail

🚫 We.Retail has been archived, see instead the WKND Guide:
https://github.com/adobe/aem-guides-wknd
Apache License 2.0
123 stars 141 forks source link

[List Component] Shows list images in Content Tree #161

Closed godanny86 closed 5 years ago

godanny86 commented 5 years ago

In AEM 6.5 the list component is added to several pages (/content/we-retail/language-masters/en/women.html) and displays a list of Articles in a block. The images (which is pulled from the underlying page) shows up in the Content Tree:

image

An author can actually open up the dialogs for these images (from the content tree).

I think a quick fix in: /apps/weretail/components/content/list/item.html to explicitly add the wcmmode=disabled mode:

- <sly data-sly-resource="${item.path @ appendPath='/_jcr_content/root/hero_image', resourceType='weretail/components/content/image', decoration='false'}"></sly>
+ <sly data-sly-resource="${item.path @ wcmmode='disabled', appendPath='/_jcr_content/root/hero_image', resourceType='weretail/components/content/image', decoration='false'}"></sly>
richardhand commented 5 years ago

Closing this issue as development on We.Retail is discontinued. To be replaced by the WKND Guide, as the future reference site for Adobe Experience Manager.