Nested Dynamic Content: Object Links Keep The Current Series URL - Question | JoomShaper

Nested Dynamic Content: Object Links Keep The Current Series URL

O

Oficialía Mayor Sonora

SP Page Builder 2 days ago

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.

0
1 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 18 hours ago #231331

Thank you for the detailed explanation.

We apologize for the inconvenience. At the moment, this is the current behavior of Dynamic Content. When related items are displayed within a Detail Page, their links inherit the URL of the current Detail Page, and there is currently no available option to modify this behavior or generate a custom nested URL structure.

We understand that having each Object link to its own Object Detail Page would be useful, especially for a multi-level hierarchy like yours. However, this functionality is not currently supported natively.

We appreciate your understanding.

0