Hi I have created a dynamic page with a repeater. I am trying to connect the text and the image to from individual posts to separate pages for the linked video to be played.
Every time I link the text or the image to a separate page it copies the last page connected to all the posts. Im not able to make each post clickable to a separate page.
How can I make the posts clickable to a separate page? Is it something Im missing in the content manager?
A dynamic page will always show you just ONE-ITEM.
Do a test-run…
- Open your dynamic-page.
- Paste following code into your dynamic page…
//--------- User-Interface ----------------------
let DATASET = "#dynamicDataset";
//--------- User-Interface ----------------------
$w.onReady(() => {console.log("page is ready...);
$w(DATASET).onReady(() => {console.log("Dataset is ready...);
let itemData = $w(DATASET).getCurrentItem();
console.log("Item-Data: ", itemData);
});
let itemIndex = $w("#myDataset").getCurrentItemIndex();
console.log("Item-Index: ", itemIndex);
});
- Run it in Preview-Mode.
- Check your CONSOLE-LOGS
Do you get some RESULTS in the CONSOLE ?