plugin: DirectPHP for Section/Category Description
|Written by kksou|
|Tuesday, 22 April 2008|
This plugin allows you to include php commands inside the Section/Category description.
The DirectPHP plugin which I released in March 2008 allows you to include PHP commands in content items only.
With this plugin, you can now include PHP commands right inside the Section/Category description. You can see a live example here.
Note: You might also be interested in another plugin loadmodule for Section/Category Description that allows you to include modules in the Section/Category description.
Important Note: Blocking of PHP commands
By default, I've blocked some of the potentially "risky" commands, e.g. system, fopen, unlink, rmdir, etc.
You can view the entire list of PHP commands that are blocked in the plugin's property page. In there, you can also add, edit or delete this list of commands to suit your needs.
If you need to use any of these commands (e.g. mkdir) from within the content page, put them in one of the library files on your server, do a
If you insist, you may choose to turn off the blocking in the property page. However, I would strongly advise that you do so only if you're the only one maintaining your Joomla site. If you're opening up the adding and editing of content pages to the public, DO NOT turn off the blocking. It's too dangerous.
DirectPHP is a simple, yet flexible and powerful plugin. I'm using it on this website. I'm sharing with you here because I think it will be very useful to some of you.
Your use of this plugin is at your own risk. kksou.com makes no warranties or representations, express or implied, as to the functionality or usefulness of this plugin. kksou.com disclaims all warranties, express or implied, including without limitation warranties of merchantability and fitness for a particular purpose. kksou.com disclaims liability for any direct, indirect, incidental, consequential, special, exemplary, punitive or other damages, or lost profits, that may result, directly or indirectly, from your use of this plugin, including without limitation any damage to computer systems, hardware or software, loss of data, or any other performance failures, or any errors, bugs, viruses or other defects that result from or are associated with use of this plugin.
How to install (Joomla 1.0.x)
How to install (Joomla 1.5.x)