A
A
ART42018-11-13 10:19:42
MODX
ART4, 2018-11-13 10:19:42

How to do it easier?

Hello, how can I do better. there is a long block of very 40 pictures:
fKqInKw3d7bLFOeFnMGnhBZmLGJdYY1OZkoIltGR
I need to show 6 pieces, others were hidden.
Conclusion:

[[!getPage?
         &element=`getResources`
         &parents=`17` 
         &tpl=`portfolioTpl` 
         &limit=`100`
         &sortby=`menuindex`
         &sortdir=`ASC`
         &includeTVs=`1`
]]

Where is portfolioTpl :
<div class="jackInTheBox gallery_product col-lg-4 col-md-4 col-sm-4 col-xs-6 filter [[+tv.material]]">
    <img src="[[pthumb? &input=`[[+tv.image]]` &options=`w=365&h=228&zc=C`]]" alt="" class="img-responsive" style="">
</div>

Example LINK
If I put 6 pieces, then it will not transfer products to other tabs, if everything is fully loaded, then the pictures are filtered. What's the best way to sneak?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question