Use the property displayStart
:
&displayStart=`1`
Include display of parent node. It is useful when you specify more than one «parents».
Use the property displayStart
:
&displayStart=`1`
Include display of parent node. It is useful when you specify more than one «parents».
Would there be a reason that this changes the first li
into h2
?
According to the documentation there is a special template &tplStart
that is used.
Chunk for the parent resource, provided that &displayStart is also used. Default:
@INLINE <h2[[+classes]]>[[+menutitle]]</h2>[[+wrapper]]
You have to overwrite that in your snippet call:
[[pdoMenu?
&parents=`2,3,4,7,9`
&level=`0`
&displayStart=`1`
&tplOuter=`@INLINE {{+wrapper}}`
&tpl=`navTpl`
&tplStart=`navTpl`
]]