Dynamic Detail Page links always open the same collection item - Forum | JoomShaper
Staff replied SP Page Builder

Dynamic Detail Page links always open the same collection item

Asked by PAVLOS P 1 week ago Last activity 1 week ago

I created a Dynamic Detail Page for a Dynamic Content collection in SP Page Builder. When I click an item link on my Index (List) page, it always opens the same collection item instead of the item I clicked.

My clickable addon is Dynamic Text, with Link → Page set to Σελίδα Άρθρου, using the route /arthro/:slug. The link is already set to the Detail page, rather than a fixed item URL, but the problem persists.

The Index page URL is:
https://sedpeiraia.gr/demo/index.php?option=com_sppagebuilder&view=page&id=41&Itemid=349

Every item link opens:
https://sedpeiraia.gr/demo/index.php?option=com_sppagebuilder&view=dynamic&Itemid=107&collection_item_id[0]=140&collection_type=normal-source

How can I make each link open the corresponding collection item's detail page instead of always opening item 140?

5 replies

Ziaul Kabir Staff

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

PAVLOS P Asked this

Hello

I send...

Ziaul Kabir Staff

Hello,

It's seems that administrator access details you provided is incomplete, Please, add username and password as well.

Thanks

PAVLOS P Asked this

I send you again

Ziaul Kabir Staff

Hi Pavlos,

From your setup, it looks like you’re using the Collection addon again on the Dynamic Detail Page to display the same collection. However, this isn’t the correct approach for displaying the selected item’s details. You can display a different collection on the Detail Page if needed, but to show the details of the specific item selected from your Index Page, you don’t need to add the Collection addon again.

Instead, use the Dynamic Text and Media addons to display the selected item’s fields and media. You can also use the Filter addon if needed. This allows the Dynamic Detail Page to display the corresponding item’s information without adding another Collection addon.

Please try this setup and check whether each item opens with its correct details.

Log in to reply.