Javascript – How to add php code directly into article using Jumi plugin


Hi every one I have installed Jumi plugin version 2.0 in joomla 1.5 and tried to write php code in the article. I'm able to use the code if I store the php source in an external file and call it within the content like {jumi [../../filename.php]}. But I'm not able to write the same code directly into the content using JCE editor. I'm getting an error like 'Jumi is working but the source needts to come under square brackets'. The problem is that I need to use a php variable output for a div tag and js also. I have no clue of how to overcome this.

Best Solution

Never had much luck with JUMI for that and other reasons, so switched to DirectPHP and kept the PHP right in the article itself.

Related Question