Hi, I have several fields running tiny mce (LG Tiny MCE) where clients will be able to paste in rich text or html content. The problem I’m having is when the wysiwyg data contains double and single quotes (and perhaps other entities as well) - my conditionals in the template are throwing a parse error:
Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/my-site/httpdocs/my-system-folder/core/core.functions.php(637) : eval()'d code on line 103I have tried both of the following conditional formats with no joy:
{if field_name} and {if field_name != ""}
I’ve also tried php conditionals with addslashes and htmlentities but they still fail with the same eval error above.
I guess what I would like to know is,
Thanks!
Move to Extensions forum by Moderator
Thanks Sue, I just posted here with a few more details prior to receiving your mail.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.