script install update uninstall - Joomla! Forum - community, help and support


in script :

<!-- runs on install/uninstall/update; new in 2.5 -->
<scriptfile>script.php</scriptfile>

the uninstall() method don't call 2 methods : preflight() , postflight() , in same script, method install() , update() calling 2 methodes !!

any solutions ?

the default behavior:-
1) preflight executed prior joomla install, update or discover_install actions. preflight not executed on uninstall.
2) postflight executed after joomla install, update or discover_update actions have completed. it not executed after uninstall.
you may refer here => http://docs.joomla.org/managing_compone ... 6_-_part_3

if insist call 2 methods during uninstall, maybe should combine codes in 2 methods , put inside uninstall method





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support