WYSIWYG comments out PHP code
3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 6, 2012 (RSS)
By gversion - March 3, 2012
Hello,
It appears that when I add some PHP code to the WYSIWYG editor, it is commented out automatically.
Is this a feature or bug of TinyMCE and is there a workaround?
Thank you,
Greg
It appears that when I add some PHP code to the WYSIWYG editor, it is commented out automatically.
Is this a feature or bug of TinyMCE and is there a workaround?
Thank you,
Greg
Re: [gversion] WYSIWYG comments out PHP code
By Dave - March 6, 2012
Hi Greg,
Here's an older post on this topic:
http://www.interactivetools.com/forum/gforum.cgi?post=76426#76426
If at all possible you should try and avoid having PHP code in the CMS for security reasons (as well as the practical reasons of keeping data, design, and code separate).
If you can let me know what you're trying to accomplish I can try and suggest some alternate approaches for you.
Hope that helps!
Here's an older post on this topic:
http://www.interactivetools.com/forum/gforum.cgi?post=76426#76426
If at all possible you should try and avoid having PHP code in the CMS for security reasons (as well as the practical reasons of keeping data, design, and code separate).
If you can let me know what you're trying to accomplish I can try and suggest some alternate approaches for you.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] WYSIWYG comments out PHP code
By gversion - March 6, 2012
Hi Dave,
Thanks for the advice. I think I'll try and avoid this as Iwant to keep the application as secure as possible.
Thanks again,
Greg
Thanks for the advice. I think I'll try and avoid this as Iwant to keep the application as secure as possible.
Thanks again,
Greg