0

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.

Nazeehaa
  • 5
  • 2
  • 5

1 Answers1

1

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

GDP
  • 8,109
  • 6
  • 45
  • 82
  • cool, thankyou so much for introducing me to this easy plugin. This is what I needed. I wonder why peple talk more about Jumi and other while there is a flexible plugin like DirectPhp is available. – Nazeehaa May 04 '12 at 13:23
  • Anyone know why DirectPHP doesn't output something like `$this->countModules("XX")`? It creates an error on the page. //edit: You can write the statement like this rather: – Anriëtte Myburgh Mar 19 '13 at 21:45