Hello,
When I did this PHx-Call I got an PHP error:
PHx:
[+phx:if=`[*news_file*]`:is!=``:then=`{{news_file}}`+]
PHP Error:
Parse error: syntax error, unexpected ')' in /www/htdocs/xxxxxxxx/assets/plugins/phx/phx.parser.class.inc.php(219) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /www/htdocs/xxxxxxxx/assets/plugins/phx/phx.parser.class.inc.php(219) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /www/htdocs/xxxxxxxx/assets/plugins/phx/phx.parser.class.inc.php(219) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /www/htdocs/xxxxxxxx/assets/plugins/phx/phx.parser.class.inc.php(219) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /www/htdocs/xxxxxxxx/assets/plugins/phx/phx.parser.class.inc.php(219) : eval()'d code on line 1
I want that when the TV ist "not empty" that the chunk news_file will be shown.
Can anybody help me?
UPDATE: The PHP Error ist gone. The I wrote "phx" but that was wrong. "PHx" is right.
BUT...the chunk will not shown when the TV is empty....
My new call:
[+PHx:if=`[*news_file*]`:is!=``:then=`{{tpl_news_file}}`+]