Hi, I wonder how to define template for each level in pdoMenu params if I want to make multilevel menu on my webpage?
For example the structure for menu is something like this:
<ul>
<li>
<div></div>
<img src="assets/img/1.png" />
<a>Link 1</a>
<ul>
<li>
<a>Sub link 1</a>
</li>
<li>
<a>Sub link 2</a>
</li>
</ul>
</li>
<li>
<div></div>
<img src="assets/img/2.png" />
<a>Link 2</a>
<ul>
<li>
<a>Sub link 1</a>
</li>
<li>
<a>Sub link 2</a>
</li>
</ul>
</li>
</ul>
So, there is no problems if structure is identical for each level. However as you can see in my case first level of menu contains img and div tags but second level does not.
That is why I need to define different templates for each level via pdoMenu. Unfortunately, there is no comprehensive example for pdoMenu parameters. It seems that pdoMenu provides this feature only for "&levelClass" parameter which gives incrementation for css class for each level but it is not very usefull for my case.
May be I should use some other approach for this purpose? Pdoresources or getresources? Somebody please help me.