O
O
Otrivin2019-10-18 12:24:43
MODX
Otrivin, 2019-10-18 12:24:43

How to remove element from modx slider?

Hello!
There is a slider on the main page of the site, it took one element to be removed from it.
In the Start template (the main page), in its place, there is the following code:


tplPartners chunk code:
<div class="item">
    <div class="padding clearfix">
        <img class="top" src="" alt=""/>
    </div>
</div>

In "Resources" there is a directory with id 29 and the name "Partners". I found the desired element in it, unchecked the "Published" checkbox and, for greater reliability, clicked "Delete". The element began to be displayed in the admin panel as crossed out.
But after all these manipulations in the slider, he still remained. With modx familiar superficially, CHADNT?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-10-18
@Otrivin

Clear the site's cache - sometimes it happens that page output is simply cached. Management - clear the cache.
You have pdoResources output cacheable. For non-cached output, you need to put "!":


Another similar behavior can be with the set parameters &showUnpublished or &showDeleted. But in your case this is not observed, so I assume the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question