Add Custom PHP v.2.0.0

Load your custom PHP code every time a page is loaded.

Joomla! 3.9.x & 4.x Plugin

LIVE DEMO    DOWNLOAD

This extension executes the custom php code specified by the administrator, each time a page is loaded.

The custom code is written in a single file which can be added everywhere among the website files. Then the path to that file is filled in the plugin parameters.

The great benefit is that you can still use the variables and functions of the Joomla framework like the code is written inside the official Joomla files.

Free Download
This extension is free for download.

  • Download Add Custom PHP
  • Demo of Add Custom PHP
  • Documentation of Add Custom PHP
  • Technical Information of Add Custom PHP
  • Change Log of Add Custom PHP

Load your custom PHP code every time a page is loaded.

DownloadAdd Custom PHP

Read More

The buttons below will redirect you to another website displaying demos of the extension.

Demo 1

Read More

Joomla Installation

  1. Download Add Custom PHP.
  2. In the Joomla control panel select: Extensions > Install/Uninstall.
  3. In the Upload Package File section click Choose File and locate the "add-custom-php-2.0.0.zip".
  4. Then click Upload & Install to upload the file and complete the installation.

Configuration

In order to configure Add Custom PHP go to the Joomla control panel and select: Extensions > Plugin Manager. Locate "System - Add Custom PHP" in the list and click it. You can see the Parameters of the plugin as below:

Joomla Parameters

Parameters

The Add Custom PHP plugin has the following parameters:

  • Custom PHP File 1 Path: The relative path, starting from the Joomla installation folder, to your custom PHP file. Example: 'templates/my-template/custom/custom.php'.
  • Load File 1 In: Defines where the first custom PHP file will be loaded. Front-end is the normal website. Back-end is the Joomla administration.
  • Custom PHP File 2 Path: The relative path, starting from the Joomla installation folder, to your custom PHP file. Example: 'templates/my-template/custom/custom.php'.
  • Load File 2 In: Defines where the second custom PHP file will be loaded. Front-end is the normal website. Back-end is the Joomla administration.
  • Custom PHP File 3 Path: The relative path, starting from the Joomla installation folder, to your custom PHP file. Example: 'templates/my-template/custom/custom.php'.
  • Load File 3 In: Defines where the third custom PHP file will be loaded. Front-end is the normal website. Back-end is the Joomla administration.

Uninstall from Joomla

  1. Select "Extensions > Manage > Manage".
  2. Locate the line with name "System - Add Custom PHP" in the list.
  3. Check the line and click "Uninstall".

Full Customization

If you need full customization of your website then you can use all the following free extensions:

  1. Add Custom PHP
  2. Add Custom CSS
  3. Add Custom Javascript

It is recommended to put these extensions in the order specified and after all other extensions in the list.

Read More
  • Extension version: 2.0.0
  • Extension type: Plugin
  • Extension technologies: PHP
  • Compatible Joomla version: 3.9.x and 4.x
Read More
  • 2.0.0:
    • Compatibility with Joomla 4.
  • 1.1.0:
    • Auto update support.
    • More options.
    • Simpler configuration for the user.
  • 1.0.0:
    • First release of Add Custom PHP.
Read More