croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
198 stars 20 forks source link

overwrite variable in get list loop #147

Closed thomcheezy closed 7 years ago

thomcheezy commented 8 years ago

while setting my list I do:

{stash:city}{category_id}{/stash:city}

is it possible to overwrite this variable while loop through the list?

{exp:stash:get_list name="myListName"}
{stash:city}NEW VALUE{/stash:city}
{/exp:stash:get_list}

sry, do not find any hint regarding this question in google.