Answer the question
In order to leave comments, you need to log in
`
How to display a different sidebar in different sections using PdoMenu?
There is a chunk with a sidebar, inside a PdoMenu call for the sidebar.
<div class="sidebar-menu">
[[pdoMenu?
&level=`1`
&parents=`7`
&tplOuter=`@INLINE <ul>[[+wrapper]]</ul>`
&tplParentRow=`@INLINE <li><a href="[[+link]]" [[+classes]]>[[+menutitle]]</a>[[+wrapper]]</li>`
&tpl=`@INLINE <li><a href="[[+link]]" [[+classes]]>[[+menutitle]]</a></li>`
]]
</div>
Answer the question
In order to leave comments, you need to log in
I can't tell without the structure of the site.
But if it is simple on two levels, for example,
then you can specify a parameter in the snippet
If the structure is a little deeper, you need to write a small snippet that would give out the section id.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question