Joomla PHP module - mod_php

Article Index
Joomla PHP module - mod_php
Copy and Paste Codes

Mod_PHP is a Joomla module that allows you to embed PHP, HTML, JavaScript and CSS in a Joomla module position. It is based on mod_html which allows embedding HTML, JavaScript and CSS in a module position, but with the added benefit of allowing PHP code.

Joomla Mod_PHP Download

You are able to download mod_php from our Joomla Modules Download Area.

Joomla Mod_PHP Installation

No extra installation needed. Just install via the Joomla Module Installer.

  • Download mod_php.x.x.zip from our download area. (where x.x is the latest version number)
  • Go to your Joomla Administration Panel
  • Navigate to Installers -> Modules
  • Browse for the mod_php.x.x.zip file on your computer.
  • Click: upload and install
  • After the Joomla Module is installed go to Modules -> Site modules
  • Search for the module titled, "PHP Module", select it and click the Edit icon.
  • In the module parameters, place your php, html, js, and css code
  • Make sure the module is published, then Save.

Uses of Joomla mod_php

  • Add banners and advertisements to your Joomla website.
  • Allows you to access the Joomla PHP API, and display different HTML according to different events.
  • Access webservices from withing Joomla
  • Anything that can be done with PHP, HTML, JS and CSS.

Creating Multiple Copies of Mod PHP

  • Go the the module Manager via the Admin Menu: Modules -> Site Modules
  • Select mod_php, which by default is titled: "PHP Module".
  • In the Joomla Admin Toolbar, click the "Copy" icon.
  • A copy of mod_php will appear with its name prefixed with "copy of". By default it will be named: "copy of PHP Module"
  • Use this to make as many copies of mod_php.
Joomla Documentation for Module Copy Feature: http://help.joomla.org/content/view/91/224/

Sites Using mod_php

coming soon...



 

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.