Commit 026f3784 authored by Florian Heder's avatar Florian Heder

compatibility issues in wizard

parent bf883c38
...@@ -155,7 +155,7 @@ class Div { ...@@ -155,7 +155,7 @@ class Div {
$GLOBALS['TSFE']->getPageRenderer()->addCssFile(ExtensionManagementUtility::siteRelPath('t3skin') . 'Resources/Public/Css/visual/element_message.css'); $GLOBALS['TSFE']->getPageRenderer()->addCssFile(ExtensionManagementUtility::siteRelPath('t3skin') . 'Resources/Public/Css/visual/element_message.css');
$GLOBALS['TSFE']->getPageRenderer()->addCssInlineBlock('flashmessage',$code); $GLOBALS['TSFE']->getPageRenderer()->addCssInlineBlock('flashmessage',$code);
$flashMessage = GeneralUtility::makeInstance('t3lib_FlashMessage', $message, $title, $type); $flashMessage = GeneralUtility::makeInstance('TYPO3\CMS\Core\Messaging\FlashMessage'', $message, $title, $type);
return $flashMessage->render(); return $flashMessage->render();
} }
......
...@@ -93,7 +93,7 @@ class DynLinkViewHelper extends AbstractTagBasedViewHelper { ...@@ -93,7 +93,7 @@ class DynLinkViewHelper extends AbstractTagBasedViewHelper {
// Save link data into ViewHelper arguments // Save link data into ViewHelper arguments
$this->setArgumentsFromArray($paramDataArr); $this->setArgumentsFromArray($paramDataArr);
$cObj = GeneralUtility::makeInstance('tslib_cObj'); $cObj = GeneralUtility::makeInstance('TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer'');
$configuration = array( $configuration = array(
'parameter' => $this->arguments['href'], 'parameter' => $this->arguments['href'],
'returnLast' => TRUE 'returnLast' => TRUE
......
...@@ -78,7 +78,7 @@ class flexslider_pi1_wizicon { ...@@ -78,7 +78,7 @@ class flexslider_pi1_wizicon {
protected function includeLocalLang() { protected function includeLocalLang() {
$llFile = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($this->extKey) . 'Resources/Private/Language/locallang_be.xml'; $llFile = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($this->extKey) . 'Resources/Private/Language/locallang_be.xml';
$l10n = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('language'); $l10n = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Lang\LanguageService');
$l10n->init($this->LANG->lang); $l10n->init($this->LANG->lang);
$l10nArr = $l10n->includeLLFile($llFile, FALSE); $l10nArr = $l10n->includeLLFile($llFile, FALSE);
......
...@@ -23,5 +23,10 @@ ...@@ -23,5 +23,10 @@
}, },
"suggest": { "suggest": {
},
"autoload": {
"psr-4": {
"SotaStudio\\Flexslider\\": "Classes"
}
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment