Hello,
I am building a three-level archive structure using SP Page Builder Dynamic Content:
- Collections
- Series
- Objects
The hierarchy is:
Collection → Series → Object
The Related condition described in the documentation does not return records in my installation. Therefore, I created direct Multi-Reference fields in the parent collections:
Collections._Series → Multi-Reference to Series
Series._Objects → Multi-Reference to Objects
I configured the filters as follows:
Collection Detail Page
- Collection source: Series
- Field: Series
- Condition: Is Associated With
- Association Field:
_Series
This correctly displays the Series associated with the current Collection.
Series Detail Page
- Collection source: Objects
- Field: Objects
- Condition: Is Associated With
- Association Field:
_Objects
This also correctly displays the Objects associated with the current Series.
The remaining problem is the URL generated for every Object displayed inside the Series Detail Page.
My current hierarchy is:
/fototeca
/fototeca/carlos-armando-biebrich
/fototeca/carlos-armando-biebrich/liga-23-de-septiembre
On the last page, the related Objects are displayed correctly. However, when I click an Object, its link points back to the current Series URL:
/fototeca/carlos-armando-biebrich/liga-23-de-septiembre
All Objects receive the same URL instead of their own Object Detail Page URL.
I already created an Object Detail Page and selected it in the Dynamic Text link settings:
Objeto
/objetos/:slug
I also tested a nested menu route:
/fototeca/objeto/carlos-armando-biebrich/liga-23-de-septiembre/
But this route still loads the Series record, and the Object links continue using the current page URL.
What is the correct way to generate a link to each Object Detail Page from a filtered Objects collection placed inside a Series Detail Page?
Ideally, the resulting URL should include the full hierarchy, for example:
/fototeca/carlos-armando-biebrich/liga-23-de-septiembre/fotografia-001
Is this nested URL structure supported natively by Dynamic Content? If it is not, how can I at least make every Object open its correct /objetos/:slug Detail Page instead of linking to the current Series page?
Environment:
- Joomla
- SP Page Builder Pro 6
- Dynamic Content
- Three related collections: Collections, Series and Objects
Thank you.