Answer the question
In order to leave comments, you need to log in
How to find the right piece of code in ModX 2.7.1-pl?
I need to find this piece of code in particular frameborder="0" to remove this property:
<iframe
width="400"
height="250"
src="https://www.youtube.com/embed/Yg"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
Answer the question
In order to leave comments, you need to log in
How to search in PMA, the correct search format? as an option, download the ladies and go through a simple text search.
Another option is to load something from a file, which is simply not in the database.
Why use PMA?
Find the page in the resource tree by name, see what template it has. In the template, find the place where the block with this code should be displayed and then edit either the template or the chunk.
If you want directly through PMA, then try this query for two different tables (modx_site_content and modx_site_htmlsnippets). You may have a different table prefix, the default is modx_
SELECT * FROM `modx_site_content` WHERE `content` LIKE '%frameborder="0"%'
SELECT * FROM `modx_site_htmlsnippets` WHERE `snippet` LIKE '%frameborder="0"%'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question