Extension Type "File" execute scriptfile tag in manifest

by razor7   Last Updated April 06, 2018 17:10 PM

I have declared a XML manifest file for my extension of type file like this:

<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="2.5" method="upgrade">

The script file is like this:

defined('_JEXEC') or die;

class os_mpInstallerScript
    public function postflight($type, $parent)
        echo '<h1>' . $type . '</h1>';


But the code of the scrip file doesn't seem to get executed.

Please advise!

Related Questions

Extension to create a custom configuration file

Updated February 20, 2016 01:04 AM

Make a checkbox group disappear

Updated March 21, 2017 23:10 PM

Where to save extension configuration?

Updated February 16, 2017 14:10 PM