S
S
sasha_pe2017-10-23 00:22:22
MODX
sasha_pe, 2017-10-23 00:22:22

How to massively change the parent of ModX Evo resources?

It is very inconvenient to change the parent in the MODX EVO admin panel. I searched the entire Internet, I can’t find a way to simplify the change of the parent of the resources.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentina Pavlova, 2021-12-22
@cabra

UPDATE modx_site_content SET `parent` = NEW1 WHERE `id` IN (1,2,3)

or
UPDATE modx_site_content SET `parent` = NEW1  WHERE `parent` = OLD

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question