View Issue Details

IDProjectCategoryView StatusLast Update
0004998OXID eShop (all versions)2.3. Extensions (modules, themes)public2013-03-15 15:22
Reportersaulius.stasiukaitis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Summary0004998: Block footer_main cannot be used correctly in module.
DescriptionThere is difference if debug mode is turned on in config with iDebug.
If debug mode is on, then "footer_main" block could be overwritten by adding information on top and on bottom:
Some information on top.
[{$smarty.block.parent}]
Some information on bottom.

If debug mode is turned off than only information added on top will be visible. This is wrong as all information must be visible independent on parent information place.
Steps To ReproduceOverwrite block with custom template:
    'blocks' => array(
        array('template' => 'layout/footer.tpl', 'block'=>'footer_main', 'file'=>'sometemplate.tpl'),
    ),

Inside sometemplate.tpl add code:
Some information on top.
[{$smarty.block.parent}]
Some information on bottom.

Turn on and turn off debug mode.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.