Answer the question
In order to leave comments, you need to log in
Catalog implementation on MODx. What to use?
Good, people.
I got acquainted with modx relatively recently. This still raises rather simple questions. Before me is the following task:
To implement 5 different directories within the same project. The mechanism is thought out and quite primitive in terms of coding in php + mysql. There is a private part of the site where users can upload their XML file to add to the catalog or update information. This is the simplest option in my case. There is no need to create complex account systems that are not really needed. The XML file falls into a certain folder from which the database is updated once a day by cron. Loading, parsing, output are quite simple to implement. But I would like to tie all this on MODx.
5 different types is also not a problem to display. Just keep all the fields and output depending on the type field by id.
Accordingly, the possibility of displaying a list of positions from catalogs is of interest.
Now the question itself:
How would you implement such functionality on MODx?
I can think of everything myself, but people with experience will probably see the implementation faster and more competently. That is why I am writing here.
MODX Revo
Answer the question
In order to leave comments, you need to log in
In my opinion, the easiest way is getResources. And correctly composed chunks for output
Hello, for the catalog we use the PdoTools combine. This set contains everything to create a catalog. If you are not comfortable with the tree view of resources in the CMS, you can use the Collections component .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question