IncludePHP

Version
1.1.1 (last update on Mar 24, 2008)
Rating
Compatibility
Votes
Favoured
17
License
GPLv2 or later
Non-Commercial
Type
Views
59685
Date Added
28 August 2007
NOTE! Starting with 1.1, you can now include Javascript (either standalone, or remote file), and HTML (via a local server file only)! See the FAQ for more info!
Now, there's 2 versions! One for Joomla 1.0 (native to 1.0), and one for Joomla 1.5 (native to 1.5). Both support PHP Javascript and HTML! If there's something else you want, feel free to ask!
To Use
{php}code you want to execute;{/php}
{phpfile}/path/to/php/file.php{/phpfile}
{js}alert("Code you want to run");{/js}
{jsfile}http://www.mysite.com/myjsfile.js{/jsfile}
{htmlfile}/path/to/html/file.html{/htmlfile}
Version 1.1.1 fixes a minor bug with HTMLfile inclusion.
This is an excellent plugin to embed simple PHP scripts or pre-written scripts into Joomla Articles. If you are experienced with PHP but unfamiliar with writing Joomla plugins or don't need to go through the hassle of writing a plugin for what should be a simple task achieved by a simple script, this plugin is for you.
Limitations:
The only problems with it are that the {php} echo 'Hello World';{/php} format did not seem to work.
Limitations:
The only problems with it are that the {php} echo 'Hello World';{/php} format did not seem to work.
Simple & Effective! Perfect for giving a little extra control over your site articles.
I would like to see this work within modules, I don't think you can do that.
Note: Don't try making applications within Joomla. Joomla wasn't designed for components to be designed within articles.
I would like to see this work within modules, I don't think you can do that.
Note: Don't try making applications within Joomla. Joomla wasn't designed for components to be designed within articles.
Comments in two languages. English after Portuguese.
I recommend. Tested and approved for Joomla 1.5.8. It has a small problem to generate PDF, PHP content is not included. PDF created appears in the tags of the plugin.
Print Layout OK.
All files must be in the PHP directory to install the Joomla.
Not tested for joomla 1.0.x
I recommend. Tested and approved for Joomla 1.5.8. It has a small problem to generate PDF, PHP content is not included. PDF created appears in the tags of the plugin.
Print Layout OK.
All files must be in the PHP directory to install the Joomla.
Not tested for joomla 1.0.x
This plugin is ok. It sucks at handling any in depth php because it does not play well with styles. If you want to write hello world then this plugin is for you. If your a real programmer who has an app you want to port into Joomla keep moving this thing is a joke.
The message boards are useless and they are scattered with little bits of help. Its a mess.
The message boards are useless and they are scattered with little bits of help. Its a mess.
Hello
this is a nice plugin, i agree it should be included natively in Joomla!
But, it's a pity we can't use {php}...{/php} in the description text of a section or a category ...
Also, it would be great if you stated the examples in the module admin interface
you know, the different possible uses of includePHP :
{php}code you want to execute;{/php}
{phpfile}/path/to/php/file.php{/phpfile}
{js}alert("Code you want to run");{/js}
{jsfile}http://www.mysite.com/myjsfile.js{/jsfile}
{htmlfile}/path/to/html/file.html{/htmlfile}
anyway, useful plugin !
cheers
anthony
this is a nice plugin, i agree it should be included natively in Joomla!
But, it's a pity we can't use {php}...{/php} in the description text of a section or a category ...
Also, it would be great if you stated the examples in the module admin interface
you know, the different possible uses of includePHP :
{php}code you want to execute;{/php}
{phpfile}/path/to/php/file.php{/phpfile}
{js}alert("Code you want to run");{/js}
{jsfile}http://www.mysite.com/myjsfile.js{/jsfile}
{htmlfile}/path/to/html/file.html{/htmlfile}
anyway, useful plugin !
cheers
anthony



