OOTB archives not working | Community
Skip to main content
Level 2
October 16, 2015
Solved

OOTB archives not working

  • October 16, 2015
  • 6 replies
  • 1615 views

Hi

    I am using the OOTB blog feature without any change in the OOTB components like archives, categories etc. I have taken a local copy of the blog components under my project and using the same. But the issue I am facing is, when I am using archives, It is not rendering any list of pages . 

  I wanted to know , for the OOTB archives to work, do we need to follow any particular page structure.?? Not sure whats preventing the archiving functionality

Thanks In Advance

Veena

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Please file official support request

6 replies

smacdonald2008
Level 10
October 16, 2015

WHat version of CQ are you using? 

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Please file official support request

Level 2
October 16, 2015

I am using 5.6.1 . My blog page structure is /content/<root_page>/en_us/blog

Level 2
October 16, 2015

Hi Sham

 

   Thanks a lot. After little more research I could find that if the sling:resourceType of blog template is "social/blog/components/page" . Then only the archive is functioning. So if I want to have my own blog page, the archive functionality will not work.

   Since I don't have credentials to raise an official ticket, it would be helpful if you can help me in that

Thanks

Veena

Sham_HC
Level 10
October 16, 2015

Sorry veena there was a reason for not posting here. Please get any of your collegue who have access to reach for an official help on this.

JK_Kendall
Level 9
October 16, 2015

Hi Veena,

By saying "I have taken a local copy of the blog components under my project and using the same", if you mean that you copied components and/or templates from /libs/social/blog into /apps/<my-project>/social/blog, then you may have a typo in the resourceType or template properties so that the appropriate implementations are not being found.

If you look at the Geometrixx Outdoors blog example at 

    /content/geometrixx-outdoors/en/company/unlimited-blog/jcr:content

you will see

    cq:template = /libs/social/blog/templates/page

What you don't see are any social/blog components or templates in /apps/geometrixx-outdoors.

While the blog feature has not changed much from AEM 5.6.1 to AEM 6.0, the blog documentation for 6.0 was slightly modified in a way that might be of help.

- JK