Message of the day:
Welcome. Latest release: https://www.silverstripe.org/download Community Forum: https://forum.silverstripe.org Features: https://forum.silverstripe.org/c/feature-ideas Archive: https://slackarchive.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Archive temporarily at https://archive.codingplayground.nl (redirect)
meaning that as soon as I pass the generated value, the returned value of the function doesn’t get displayed
but templates are rendered only once
yes, that’s what I did
You could go with simply creating a function which takes an argument, and return the value for the argument.
thanks though! I ended up with a workaround
no, not really
(not sure what you mean either, but incase its this simple, worth mentioning0
to break out of the <% loop %> context?
dont you just want like $Up.DatabaseKeyYouWant.ID ?
oh well, thanks!