View Issue Details

IDProjectCategoryView StatusLast Update
0005042OXID eShop (all versions)2.3. Extensions (modules, themes)public2015-12-01 09:23
Status assignedResolutionopen 
Product Version4.6.6 revision 54646 
Target VersionFixed in Version 
Summary0005042: metadata-blocks doesn't support multiple themes
DescriptionIf you want to overwrite a block in your module, you need to put your block-file into /modules/<mymodule>/out/blocks/...
So there is only one blocks-folder for all themes. Therefore you cant't create different block-files for different themes to overwrite the same block.

Maybe you can expand the metadata-blocks-array with a key 'shopid' or 'theme':

'blocks' => array(
  array('template' => 'page/search/search.tpl', 'block' => 'search_results', 'file' => 'search_results.tpl', 'theme' => 'second_theme')
TagsNo tags attached.
ThemeNot defined
PHP VersionNot defined
Database VersionNot defined


related to 0005023 resolvedmantas.vaitkunas Active theme id is not accessible from template. 
related to 0005176 assignedflorian.auer the forgotten functions of metadata.php 



2014-03-28 10:02

reporter   ~0009730

waiting for the PO decision.