Can I tell Ditto kind of:
[[Ditto? parents=`this_documents_child_folder_named_related` &tpl=`tpl_related`]] ?
My newbie concept:
Page related content is in folders called ’related’ and doesn’t show up in the navigation. Ditto gets titles and 100 first chars for the previews and creates a read_more_link
Tree concept:
- root
-- page_1 (regular page, nav_item)
--- related_2_page_1_folder
---- related_4_all (reg. page, not nav_item)
---- related_4_members
-- page_2 (reg. page, nav_item)
--- related_2_page_2_folder
---- related (..an so on)
-- page_3 (..an so on)
-- related_2_all_folder
--- related_4_all
--- related_4_members
.. or is there a smarter way in MODx to achieve my goal?
Could you please point me in a direction with code examples?
What about using tags to define related content?
I’m looking for a way to define once: Find parts of related content for this page in (sub)folders called eg. ’related’, if their content matches further criteria.
This call should be in the template and work for every future new page in the tree structure. How can I achieve that
without updating the parents_id_list of the Ditto call manually?
Code examples?