@reymcfc Yes! I already assumed it. I first wanted to ask you that question, but deleted my post again, because it was clear.
Here an [almost] working example! Why → [almost] ???
Because the last step will be done by your own
Let’s go!
Here on this example page, you will find a reconstruction of your project-setup…
https://russian-dima.wixsite.com/my-site-3/dynamicslides
-Containing a DYNAMIC-ALL page
-and a the DYNAMIC-ITEM page
Of course the repeater is placed on the dynamic-ALL page, since it normaly is generated automaticaly, when you convert your normal (non-dynamic page) into a DYNAMIC page.
However! Because you surely will use the already prepared DATASET-connection generated automaticaly by wix, you will have the ability to open the dynamic page by a BUTTON-click (the button itself is also already generated automaticaly and is also connected by the same dynamic-dataset).
That means → clicking onto —> (in this example)
You are able to navigate to the corresponding DYNAMIC-PAGE!
But what you want is → a REDIRECTION to DYNAMIC-PAGE by a CLICK onto CONTAINER !
Here the code, which will do all the magic…
import wixLocation from 'wix-location';
$w.onReady(function () {
$w('#listRepeater').onItemReady(($item, itemData, index)=>{
console.log("Item-Data: ", itemData);
console.log("Index: ", index);
$item('#container1').onClick(()=>{console.log("clicked!");
console.log(itemData["link-dynamicslides-title"]);
wixLocation.to(`/dynamicPage/${itemData["link-dynamicslides-title"]}`);
});
});
});
All you will have to do is to replace your DATA-FIELD, which you already have shown in one of your uploaded pics. The importent-part is marked orange!
Oh, wait wait wait → But i said it is almost working!
Somthing still missing!
To get the complete solution you will have to take a look into the CONSOLE and investigate the RESULTS!
Good-luck and have fun!
EDIT: A screenshot of the related DATABASE…for better understandings!