From 4706cb33921aaeac54c94c65527118eba50633ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Auswo=CC=88ger?= Date: Thu, 13 Nov 2014 16:34:51 +0100 Subject: [PATCH] Added log messages for HTML convertion --- src/MadeYourDay/Contao/CustomElementsConvert.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/MadeYourDay/Contao/CustomElementsConvert.php b/src/MadeYourDay/Contao/CustomElementsConvert.php index 37e7fda..21d5bf2 100644 --- a/src/MadeYourDay/Contao/CustomElementsConvert.php +++ b/src/MadeYourDay/Contao/CustomElementsConvert.php @@ -104,6 +104,12 @@ public function run() } + foreach ($failedElements as $element) { + $this->log('Failed to convert ' . $element[0] . ' element ID ' . $element[1] . ' (' . $element[2] . ') to a standard HTML element', __METHOD__, TL_ERROR); + } + + $this->log('Converted ' . $elementsCount . ' RockSolid Custom Elements to standard HTML elements', __METHOD__, TL_GENERAL); + $objTemplate->elementsCount = $elementsCount; $objTemplate->failedElements = $failedElements;