Answer the question
In order to leave comments, you need to log in
Modx gallery - how to make a button to view all photos?
I can’t figure out how to add a button to show all photos or show more, which would open the same slideshow as opens when you click on the photo.
chunk from page
<div id="porta481521"></div>
<div class="row porta" id="portas481521" style="height:535px;">
<div class="row">
<h2 style="padding-left: 15px;"></h2>
<div class="col-md-3">
</div>
</div>
<div class="row">
<ul></ul>
</div>
</div>
<li>
<a href="" class="colorboxes" rel="" data-target=""><img src="" alt="" class="img-responsive lazy" data-img=""/></a>
</li>
Answer the question
In order to leave comments, you need to log in
This chunk - what you copied - is 1 portfolio item. To load more columns using ajax, I would use pdoPage if I were you.
https://docs.modx.pro/components/pdotools/snippets...
Check out the options section. It is also possible to install pagination as an alternative.
UPD In the markup, you generally have some kind of trash. Check chunk output.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question