View Issue Details

IDProjectCategoryView StatusLast Update
0005042OXID eShop (all versions)2.3. Extensions (modules, themes)public2015-12-01 09:23
ReporterJaroslavHerber 
PrioritynormalSeverityfeatureReproducibilityalways
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
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Relationships

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

Activities

svetlana

2014-03-28 10:02

reporter   ~0009730

waiting for the PO decision.