F
F
Fergos2015-08-04 12:46:26
MODX
Fergos, 2015-08-04 12:46:26

How to expand site_content system table (add couple of columns)?

The task is to add a certain number of columns to the site_content table in order to be able to filter and sort later when outputting through getResources.
I know that in addition to adding to the database, you still need to make changes to the XML schema, but attempts to find intelligible information have not been successful.
Please tell me where you can read about this in detail, which XML file needs to be edited in order to make changes specifically to site_content. New tables are not interested (yet :)).
By the way, we are talking about MODx Revo 2.3.5
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AJ, 2015-08-04
@2ball

The approach is strange. At the first update, you will say goodbye to your entire structure. I would suggest...
1) Use faster and more flexible pdoResources
2) Use TV filtering
3) Analogue: use TV and use LEFT JOIN filtering directly in the query

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question