Answer the question
In order to leave comments, you need to log in
[[+content_image]]
View all function output, how to do?
There is a submenu output using pdo, a limit of up to 4 categories is specified,
I can’t figure out how to make a button to view all if the limit is exceeded
[[!pdoMenu?
&parents=`144318,-19,-2474`
&rowClass=`catalog-submenu__item`
&level=`1`
&limit=`4`
&tvFilters=`template==7 || template==25 `
&tpl=`catalog-submenu.tpl`
]]
Answer the question
In order to leave comments, you need to log in
One of the options is:
[[pdoMenu?
&parents=`9`
&limit=`4`
]]
[[AjaxSnippet?
&snippet=`pdoMenu`
&limit=`0`
&as_mode=`onclick`
&as_trigger=`Click me!`
]]
<script>
$( ".ajax-snippet a" ).click(function() {
$('ul').hide();
});
</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question