PHP Code inside WYSIWYG field

4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 17, 2009   (RSS)

Is it possible to include PHP code inside the TinyMCE editor? There are places within the body that we need to reference PHP includes or data on a page-by-page basis. If not, would a template engine like Smarty Template be an alternative to replace special tags to be parsed later?

Re: [Dave] PHP Code inside WYSIWYG field

Thanks Dave.

I was able to incorporate a PHP template parser from here:

http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP-Part-I/

Re: [goodonyx] PHP Code inside WYSIWYG field

By Dave - December 17, 2009

Great, glad to hear you got it working! Thanks for posting back and letting us know. :)
Dave Edis - Senior Developer
interactivetools.com