Customising dynamic items

Hi everyone

I’m building my website which includes a portfolio of my design work. I’m using the dynamic pages to help manage the extensive amount of content and reduce tailored page designs. however, many projects have unique features, which I would like to showcase in a specific way that will change from the rest of the items.

Is there a way I can edit each dynamic page item after importing the full list of projects?

So, the items will each share the same template, such as key info, text and hero images, and then I can customise the page specifically for just one.

In addition, I can’t seem to import diverse media and have to create separate entry fields for videos vs. images. but my hero images will vary between the two. So, is there a way I can make this work within the same field?

Thanks in advance! let me know if you need more info
J

You can add hidden/collapsed elements that show/expand only according to the dynamic item’s data

For example, let’s say the collection has a boolean field tagged ‘showCustom’

$w('#dynamicDataset').onReady(() => {
    const item = $w('#dynamicDataset').getCurrentItem()
    if (item.showCustom) $w('#customSection').expand()
})

Hi Dean

Thanks for your reply! So would this approach work if each item is its own page? For example, I have my gallery and using the dynamic list. But each project example have different type of content. So I want them to use the same base template I create, and then the second step would be to personalise so it relates to the content better. Does that make sense?

Thanks for waiting for my reply
J