Quote from: Bruno17 at May 19, 2013, 01:12 AMThe child-pages would have a image-TV and three text-TVs or you can use some existing fields like pagetitle,content,longtitle....., it they are not used
To get the List displayed use getResources.
Or, if you don't need to have them as child-Resources and you can store all informations into one single Field(TV) of the 'parent', MIGX could be an option
- I am very new to MODX, so I am going to describe WordPress experience to try and explain myself. There are several WordPress plugins functioning, putting it simple, like this:
There is a child page. Being in admin panel mode, it is possible to create a "manual excerpt", a short text and have it to be associated with the page. And a "featured image" - an image to be also associated with the page, to be its thumbnail.
A plugin, running from the parent page. It finds all the child pages of the parent page, takes title + "featured image" + "manual excerpt" of each and outputs them in an area on the parent page, creating something like a gallery.
If I got you right, image-TV on the child page would allow end user to change the image, three text-TVs would allow to edit three fields of text. And getResources would find all the child pages, then display a "gallery" within an area on the parent page. A gallery made up of items consisting of image + three fields of text from all these child pages. Right?
So, maybe you know a link with a more detailed description how to do it all? TVs are not a big deal, but getResources seems to be a little complicated when it is your second day.
Also, is it possible to get pagination with getResources - the list of child pages may get too large and there may happen to be a need to break it into several pages.
[ed. note: viener last edited this post 13 years, 5 months ago.]