We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24665
    • 14 Posts
    I was wondering if there is any variable in Modx to retrieve document names (and links to it) from a tree. For example:

    Photos
    - 2011
    -- boat trip
    -- holiday
    -- birthday
    -- school
    - 2010
    -- zoo
    -- six flags
    -- mc donalds
    -- city trip

    I have several documents in the managers tree. The main folder is "photos". Within that folder I have subfolders with the year the photos were taken. Within those "year folders" i have documents with the photos.

    The thing that I want is a way to retrieve all the event photo names listed in the tree, so whenever I add a document to for example 2011, it updates it on a index page of the page "photos". Is this possible? Or do I have to manually add hyperlinks everytime i add a page?