Setting up a sightly based page template to use contexthub in AEM 6.2

Avatar

Avatar

hemantbellani-O

Avatar

hemantbellani-O

hemantbellani-O

15-02-2017

We have a sample site which has basic template and a page level component. In its head.html we have included the context hub which is not reflecting on the page. The code snippet for head.html of our sample site as shown below:

<head>

<sly data-sly-resource="${ @ path = 'contexthub' , resourceType='libs/granite/contexthub/components/contexthub'}"></sly>

<title>${head.title}</title>

</head>

As per my understanding, To enable the ContextHub features we need to include contexthub component in the head section of our page level component. I am still unable to see the contexthub component on my page. Please correct if am missing any step in implementing the same.

View Entire Topic

Avatar

Avatar

hemantbellani-O

Avatar

hemantbellani-O

hemantbellani-O

22-02-2017

Thanks Feike Visser. It was corrected and it appears now.