[SOLVED] <scriptfile> not running script - Joomla! Forum - community, help and support
hi,
i'm trying understand how tag <scriptfile> works.
so in component xml file added:
in component root added "install.rgtcis.php" file following code:
however none of echos display in install manager of joomla
so mistake ?
i'm trying understand how tag <scriptfile> works.
so in component xml file added:
code: select all
<scriptfile>install.rgtcis.php</scriptfile>in component root added "install.rgtcis.php" file following code:
code: select all
// no direct access
defined( '_jexec' ) or die( 'restricted access' );
jimport('joomla.installer.installer');
class com_rgtcisintallerscript{
function preflight( $type, $parent ){
echo "<p>preflight:</p>";
}
function install($adapter)
{
echo '<p>test install(adapter)</p>';
}
function update($adapter){
echo "update in progress...";
}
function postflight($type, $parent){
echo '<p>postflight: ' . $type. '</p>';
}
}
?>however none of echos display in install manager of joomla
so mistake ?
ok found issue. didn't see "s" missing in "installer" of "installerscript" 
Comments
Post a Comment