We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Hi,

    I have a template that contains the getImageList snippet and outputs the results to placeholders.
    Then within the template i also have.
    <code>
    [[+image.1]]
    [[+image.2]]
    [[+image.3]]
    </code>
    This works fine, but if the user edits the resource and deletes say value 3, they then add a new item this item now gets a index value of 4. Which then means [[+image.3]] no longer works.

    This doesn't seem to be a problem if when the item is deleted the user then saves before adding a new one.

    I've now told the client they must edit rather then delete or save the resources after deleting. But wondered if there was any kind of fix.

    Thanks