31. Creating simple navigation component

Опубликовано: 17 Октябрь 2024
на канале: AEM and Devops Tutorial
27,630
148

Creating simple navigation component in AEM: This video shows how to creat a simple navigation component in AEM.

Navigation is a horizontal menu at the top of the page that provides links to navigate to a specific page in the site.

Having navigation feature is very common in the website, therefore creating navigation component is important task you can do as a aem developer.

We will use data-sly-resource and data-sly-repeat attributes to build up it's logic. you can refer below url to find the code :

https://github.com/pankajchhatri/AEM

In content folder, create the topnav component and edit the site-topnav.html and header.html files.

After doing it open the English page, navigation will appear there. Page which has not child page will show blank navigation. We will resolve this issue while creating complex site navigation component.

share, support, like and subscribe
Subscribe : https://www.youtube.com/channel/UC5Lc...
LinkedIn :   / pankaj-ch.  .
Facebook :   / pankajchhatri  
Twitter :   / pankajchhatri  
Google plus : https://plus.google.com/u/0/+pankajch...

About : AEM/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.