I have created a TYPO3 plugin using kickstarter.And I have pi1 folder containing class_pi1.php class. And my problem is that whenever I am loading this class, its main function is executing twice. What might be the problem in this case?
I have created a TYPO3 plugin using kickstarter.And I have pi1 folder containing class_pi1.php
Share
Solved the issue.
t3lib_extMgm::addPItoST43($_EXTKEY, ‘pi1/class.tx_besijobs_pi1.php’, ‘_pi1’, ‘list_type’, 1);
have to change ‘1’ to ‘0’.
t3lib_extMgm::addPItoST43($_EXTKEY, ‘pi1/class.tx_besijobs_pi1.php’, ‘_pi1’, ‘list_type’, 0 );