Dynamic item page URL bug?

Hello, I’m just about to finish a website, but this one, annoying thing I just can’t resolve.
Some help, pretty please!

I have organised a set of dynamic pages to display information from a project database as follows:
Dynamic pages: by category (filter: boolean field = true). Ex. mywebsite.com is available for purchase - Sedo.com
Dynamic page items: by project number. Ex. mywebsite.com is available for purchase - Sedo.com

This worked just fine until recently, when I realised that a button on each item page did not display the name of the ‘parent’ dynamic page but kept referring to but one out of six dynamic pages. Without really knowing what changed, I’m struggling with this situation:


This is one of the six dynamic pages: ‘Exhibitions’. See URL.


However, when clicking the left item (project number 73) it redirects to ’ Education '/73, which does not exist.
After manually replacing ‘Education’ with ‘Exhibitions’, the site displays the correct item page.


All page items behave in this way, always replacing the current category with ‘Education’.
What is wrong?

THANK YOU.

could you please provide a link to your website?

borders-territories.space

Thanks!

I also have trouble with the borders-territories.space/team page - the code for hiding/showing bios works only every once in a while, and there’s some odd spacing going on between repeater items… Just like the item pages it worked perfectly until very recently. Appreciate your help!

Hi Helena,

the way you structured your db doesn’t really align with the way those dynamic page are designed to behave.
instead of setting the different categories in different columns in your collection, we call this structure ‘Dynamic category’ once you migrate to this structure it will result in cleaner collection, less pages and easier to add new categories.
please follow those examples:
https://www.wix.com/code/home/video-database

good luck!
Shlomi

Thank you so much Shlomi, a cleaner db would be great!

This worked out great, thanks again! Just one more question - is it possible to populate the category field with multiple parametres? For example, some projects categorise as both ‘Education’ and ‘Research’…

Hi,

glad to hear! this is a feature which is very soon to be released and open in closed beta.

shlomi

1 Like