Warning: session_start(): open(/var/cpanel/php/sessions/ea-php74/sess_hobj8mq1pf6t689hh1153ep32l, O_RDWR) failed: No such file or directory (2) in /home/mssoftpc/iqra.mssoftpc.com/admin/function.php on line 3

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php74) in /home/mssoftpc/iqra.mssoftpc.com/admin/function.php on line 3
Start Develop Addon | IQRA CMS

Start Develop Addon

Want a successful Modern site?

Start with IQRA training; it’s easy and quick to your needs.

    Start Develop Addon   

 

Download Sample Addon

 

Get Started

At its simplest, a IQRA Addon is a PHP file with a IQRA Addons header comment. It’s highly recommended that you create a directory to hold your addon so that all of your addon’s files are neatly organized in one place.

 

Sample Code

<?php
/**
* Addons Name: Contact Form
* Version: 1.0
* Description: Contact Form Builder for IQRA CMS | Design & Developed by MSSOFTPC
* Demo: https://mssoftpc.com 
*/

 

Security Tips

// Always use Define Before Starting of Code.

if(!defined('ABSPATH')){
    die('You can"t access this page');
}

// Always Define Addon Directory

define('dummy_addon', current_addon_include_dir(__DIR__).'/');

 

To get started creating a new addon, follow the steps below.

  1. Create a new directory and create new php file with same name as directory.
  2. Open file and add code Addon Code. Save it.
  3. Now go to IQRA Installed Directory ./content/addons/ upload here addons
    OR you can also Install direct from IQRA CMS Addons Area form zip
  4.  After upload active it and Done. Enjoy

 

Addons File Structure

  1. Addons File name
  2. activate.php (used for perform action after active) (optional)
  3. deactivate.php (used for perform action after deactive) (optional)