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

    someone know if it is possible, and how we can, use the full smarty capacity usings loops on a placeholder?

    imagine to have a placeholder [[+abc]] that "contain a array",
    each element is accessible via [[+abc.0]], [[+abc.1]], [[+abc.2]],...

    how can we write a single chunk that can iterate over this placeholders?
    smarty offer this ability (link to the doc: http://www.smarty.net/docs/en/language.function.for.tpl#idp35225872 )
    but I have no idea how to exploit that in the chunk.

    Any idea? suggestions?

    thx for your time