Hello all,
We have got a problem with output filters on a placeholder. (The evaluation also does not work with the If Extra.)
We are using placeholders to refill a search form after the search has been processed by a snippet.
- The snippet is not cached
- Placeholder is set like this: $modx->setPlaceholder('placeHolderName', $_GET['dlgplaceHolderName']);
- In the chunk, when outputting the placeholder, it returns the correct value: [[+placeHolderName]]
- But when evaluating it through an output filter (or the If Extra), it always seems to evaluate as FALSE
We have seen this thread:
https://forums.modx.com/index.php?topic=59729.0
[[!+placeHolderName:is=`5`:then=`selected="selected"`:else=``]] does still not evaluate as TRUE even if outputting [[!+placeHolderName]] in the very same chunk is displaying 5.
Any ideas?
Adrian
PS: This has been productive for a while and we are pretty sure this used to work. We upgraded to 2.2.8. last week. Just an afterthought.
[ed. note: elgrandeadi last edited this post 13 years, 3 months ago.]