Closed frischnetz closed 8 years ago
xod submitted:
Not sure if this helps, but try :isnotempty instead of :isnot=``, I have similar setups (not identical) and there it seems to work...
Closing due to age and lack of activity.
Feel free to comment/reopen if this is still an issue.
@modxbot close
frischnetz created Redmine issue ID 7638
Putting content-tag in an if-then-else-statement, using gallery inside the content with templates that itself use itself if-then-else-cases lead to wrong output:
Testcase:
My Template:
My resource:
(Install gallery 1.5.0rc1 and put some images inside gallery 1)
My chunk testthumb_tpl:
Output of both instances of
should be identical, but is not. It is indeed broken: there's a spurious inside the output.outside:
I encountered problems with nested if-then-else-output filters before but usually they can be fixed by making sure not to leave out any else-statements. This one is different: all else-statements are supplied.