View Issue Details

IDProjectCategoryView StatusLast Update
0005312OXID eShop (all versions)2.3. Extensions (modules, themes)public2017-09-07 16:05
Reportervaidas.matulevicius 
PriorityurgentSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.7.6 / 5.0.6 
Target VersionFixed in Version 
Summary0005312: Using oxstyle tags in widget does not includes css
DescriptionUsing oxstyle tags in widget does not includes css.
Steps To ReproduceCreate module which extends widget block and adds some additional css file.
Enable this module and css style will not be included until you will add [{oxstyle}] to modules block.
TagsCSS, Smarty, Widgets
ThemeAll
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

dev_ht

2017-09-07 16:05

reporter   ~0012220

The latest Oxid 6.0 RC2 release is also affected by this bug.

Example to reproduce:

1. Extend the admin_language_edit block

    'blocks' => array(
        array('template' => 'language_edit.tpl', 'block' => 'admin_language_edit', 'file' => 'views/blocks/language_edit.tpl'),
    ),

2. Inside the extended block add the oxstyle tag

    [{oxstyle include=$oViewConf->getModuleUrl("my_mod_id", "out/src/css/my_style.css")}]

The CSS style will not be included, unless [{oxstyle}] is also added to the block.