Expand my Community achievements bar.

SOLVED

Image List Component

Avatar

Level 2

Hi, I am using image list component and fixed search and giving the path of my subpages to list those pages as a card on the home page like wknd project home page articles are showing there so when we click on those card then it will redirect  on those page but when giving the path of the wknd then it working fine but for my case it is not working when giving the path of my  parent page, it is empty

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

There are two things to keep in mind:

  1. The query you are using must return results. If there are no results, then an empty result is probably valid.

  2. The Image List component for the wknd site is customized to generate the "card" you are talking about. Most likely, your pages don't have all the necessary attributes to render such a customized view. You can try using the out-of-the-box "image list" component to check if your query is okay or delve into the wknd implementation to understand what might be missing in your project pages.

Hope this helps



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

There are two things to keep in mind:

  1. The query you are using must return results. If there are no results, then an empty result is probably valid.

  2. The Image List component for the wknd site is customized to generate the "card" you are talking about. Most likely, your pages don't have all the necessary attributes to render such a customized view. You can try using the out-of-the-box "image list" component to check if your query is okay or delve into the wknd implementation to understand what might be missing in your project pages.

Hope this helps



Esteban Bustamante

Avatar

Level 4

@knki verify the structure of your project and compare with wknd. Make sure it matches same set of levels and page properties. 

1. Verify the error logs, are you getting any errors?

2. Verify the page structure and page properties.

3. Look for any browser console errors.

4. Alternate case, overlay the image list component and add more logs to verify where it is failing or customize according to your project needs.

 

https://github.com/adobe/aem-guides-wknd/tree/main/ui.apps/src/main/content/jcr_root/apps/wknd/compo... 

https://www.sfu.ca/cms/howto/components/list/image-list.html

https://github.com/adobe/aem-core-wcm-components/issues/578

 

Thanks!