IncludePHP 
Version
1.1.1 (last update on Mar 24, 2008)
Rating
Compatibility
Votes
15
Favoured
19
License
GPL
Non-Commercial
Type
Views
28292
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.
bychusa83 on September 8, 2009
I tried to place a php code following your example... I tried {php}direct code{/php} and {php}{/php}, but it didn't work... it's a waste of time.
bymallamace on April 5, 2009
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.
bybjverde on December 28, 2008
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
bywebplus on September 2, 2008
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.
byxer0 on August 15, 2008
Verry nice and helpfull plugin!
Just one thing, if i search on articles with php code inside them with the joomla search box the php code is displayed in the search results.
Just one thing, if i search on articles with php code inside them with the joomla search box the php code is displayed in the search results.
byselector on February 9, 2008
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
byPsiTrax on November 11, 2007
Perfect Plugin! I use it to include my older Scripts or for my little widgedts i wrote for Joomla.
byJonny81v on October 6, 2007
exactly what i was looking for, i wonder why this function is not included in joomla (probably because of security reasons...)
byrothmail on August 30, 2007
This is easy to install, and works fine when I tested it with Joomla 1.5rc1. I agree with others who feel this feature should be added to Joomla's core.




