A
A
Anton Parkhomenko2020-09-28 10:04:38
MODX
Anton Parkhomenko, 2020-09-28 10:04:38

How to set resource output in pdoPage via scroll?

Welcome all.
Please help in solving the problem: the output of resources in pdoPage through scroll does not work.
Now the code is like this

<div class="wrapper-content-right-in" id="pdopage">
      <div class="rows blog-articles">
        <div class="zui-section zui-space-b-20">
        <div class="inner">
          <div class="article-granite">
          <h1></h1>
          <span></span>
          </div></div></div>			  
          <!-- Section start ======================== -->
          
          
          <!-- Section end ======================== -->
        </div> <!-- .blog-articles -->
</div> <!-- .wrapper-content-right-in -->

But even with this code, the resources are loaded, as it were, from the top of the button, and not from the bottom. If you change &ajaxMode=`button` to &ajaxMode=`scroll`, nothing works at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2020-09-29
@DanArst

But even with this code, the resources are loaded, as it were, from the top of the button, and not from the bottom.

Well, they should be above the button.
If you change &ajaxMode=`button` to &ajaxMode=`scroll`, nothing works at all.

If you add scroll, then remove ajaxTplMore from the snippet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question