[TYPO3-english] Extension: Automatically delete also the referenced records in BE?

2017-11-17 Thread christian ewigfrost
I think (hope) this is a very basic, easy to answer question: In my extension i enable the backend user to create and delete records. Some of these classes define one or more of their properties through the uid of the record/object of another class (with 'type' => 'select' and access to a

[TYPO3-english] Re: Prevent the task from accessing a class repository if there are no records of that class?

2017-11-17 Thread christian ewigfrost
I solved the problem myself: Instead of using... if($appliances != null){...} I simply checked if a record in the repository is empty: foreach($appliances as $appliance) { \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump(!empty($appliance)); if(!empty($appliance)){

[TYPO3-english] What bootstrap package

2017-11-17 Thread Tomas Havner
Hi, We are about to introduce new templates built upon bootstrap. In connection with this we are also planning to install a bootstrap-extension in typo3. But the are a lot of such extensions. There is the bootstrap package, the bootstrap components etc. Any thoughts upon which one to choose?

[TYPO3-english] Prevent the task from accessing a class repository if there are no records of that class?

2017-11-17 Thread christian ewigfrost
So basically i'm using a Scheduler task in which i first create an object of each class repository and use the function findAll() on each: /** @var CustomerRepository $apprep2 */ $apprep2 = $objectManager->get(\Cjk\Icingaconfgen\Domain\Repository\ApplianceRepository::class); /** @var