DirectPHP – Embeded PHP in Joomla Content Page

By default, Joomla does not support PHP in editing the content page. DirectPHP helps you to embed your PHP code in Joomla. It supports both Joomla 1.0.x and Joomla 1.5.x

Install DirectPHP in Joomla 1.0.x
1. Download the DirectPHP plugin and unzip the archive.

2. Go to Joomla Adminsitration -> Installers -> Mambots.

3. Browse the package files and then click Upload File & Install.

 

4. Go to Mambots -> Site Mambots and published the DirectPHP.

 

5. DirectPHP blocks some PHP commands such as fopen, fwrite … etc. You can disable the blocking by editing the DirectPHP Mambots.

6. Try the PHP code in the content page.


* This plugin works well with TinyMCE WYSIWYG Editor and NO WYSIWYG Editor. Please refer to Joomla – Adding Paypal Website Payment Standard Button for modifying the Joomla text editor

You can find more details about the installation and usage at php-gtk2 Cookbook – DirectPHP plugin.

Done =)

Advertisements

2 thoughts on “DirectPHP – Embeded PHP in Joomla Content Page”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s