Where statement pdoMenu

today is not my day what am I doing wrong?

&tpl=@INLINE <a href="[[+link]]">[[+menutitle]]</a>
&tplOuter=@INLINE [[+wrapper]]

I dont waant resroouce link to show if it uses template 25

is there where statement:

Maybe this works:

&where=`{"template:!=" : 25}`
1 Like

thats the one many thanks works

Also pdoMenu has the &templates property so you can just add a hyphen before the template to exclude:


This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.