Actions
Bug #66059
closedSorry, the requested view was not found.
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2015-03-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hey there,
i have a problem with a extbase/fluid extension with a backend module. In 6.2 works all fine, in 7.1 not. I have the following constants:
module.tx_layerslider { view { # cat=module.tx_layerslider/file; type=string; label=Path to template root (BE) templateRootPath = EXT:layerslider/Resources/Private/Backend/Templates/ # cat=module.tx_layerslider/file; type=string; label=Path to template partials (BE) partialRootPath = EXT:layerslider/Resources/Private/Backend/Partials/ # cat=module.tx_layerslider/file; type=string; label=Path to template layouts (BE) layoutRootPath = EXT:layerslider/Resources/Private/Backend/Layouts/ } }
and this setup:
# Module configuration module.tx_layerslider { persistence { storagePid = {$plugin.tx_layerslider.persistence.storagePid} } view { templateRootPath = {$module.tx_layerslider.view.templateRootPath} partialRootPath = {$module.tx_layerslider.view.partialRootPath} layoutRootPath = {$module.tx_layerslider.view.layoutRootPath} } settings < plugin.tx_layerslider.settings settings { tsIncluded = 1 } }
In ext_tables.php the module was registered:
if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( 'MINAV.' . $_EXTKEY, 'web', // Make module a submodule of 'web' 'm1', // Submodule key '', // Position array( 'Slider' => 'list, show, new, create, edit, update, delete, copy', 'Slide' => 'list, show, new, create, edit, update, delete, upload, paste', 'Item' => 'list, show, new, create, edit, update, delete, upload, paste', ), array( 'access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_m1.xlf', ) ); }
The expected template file is stored in this path:
typo3conf/ext/layerslider/Resources/Private/Backend/Templates/Slider/List.html
and if i copy this file to this location:
typo3conf/ext/layerslider/Resources/Private/Templates/Slider/List.html
it works.
Why is in 7 the module.tx_layerslider.view ignored?
Files
Actions