pawankct91
(pawan kumar)
1
Hello I want to render the navigation in fluid/
Currently I am using the below line of code
navVar= Neos.NodeTypes.Navigation:Navigation {
entryLevel = 1
maximumLevels = 0
current.attributes.class = ‘active’
}
but the navVar is type of string element, is there any way to get as Array element
sebobo
(Sebastian Helzle)
2
Hi Pawan,
if you don’t want to do it like here https://docs.neos.io/cms/tutorials/rendering-a-menu-in-fluid
then you have to use the Neos.Neos:MenuItems
Fusion object. It returns an object where you can access the items.