Hi Leevi,
We ended up disabling the newsletter plugin and that seemed to fix the issues we were having with TinyMCE. Apparently they were both using the same hook? Sure would be nice if the EE folks could figure out a way to queue the requests for hooks to allow plugins to play more nicely with one another.
If you know of a way to make these to work together, do let us know. We likely have a need for the newsletter plugin in the future.
Thanks!
Hi Leevi, We ended up disabling the newsletter plugin and that seemed to fix the issues we were having with TinyMCE. Apparently they were both using the same hook? Sure would be nice if the EE folks could figure out a way to queue the requests for hooks to allow plugins to play more nicely with one another. If you know of a way to make these to work together, do let us know. We likely have a need for the newsletter plugin in the future. Thanks!
Extensions can both use the same hook without an issue if you are careful enough and follow the developer docs.
Do you have a link to the Newsletter extension? I’ll take a look to see if I can sopt an errors in LG TinyMCE and the Newsletter extension.
Not sure if I should be posting here or not.. but in the absence of a clear alternative..
Hi Leevi, I’m using LG Tiny MCE 1.3.3, PHP 5.2.6 and EE 1.6.7. In my template I am trying to test for content in my LG Tiny MCE fields and getting a parse error due to quotes, double quotes and possibly other html entities in the field content (the eval error below doesn’t tell me much and my php skills are not particularly advanced).
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 103
I have tried both of the following conditional formats with no joy:
{if field_name} and {if field_name != “”}
I have also tested the same data in a plain EE textarea fieldtype with formatting set to none and the error did not crop up, so I am assuming, wrongly or rightly, that this problem relates to how TinyMCE is saving html to the database?
I also have Fieldframe installed and I get the same error when testing with an FF Matrix field type, like this:
{fieldframe_field}
{if lg_tiny_mce_field}{lg_tiny_mce_field}{/if}
{/fieldframe_field}
I have also checked phpinfo() and (not sure if this is relevant or not) magic_quotes is off:
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
Thanks in advance for your help! I really need to get this sorted.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.