View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005312 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2013-07-24 15:33 | 2022-03-16 11:49 |
Reporter | vaidas.matulevicius | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 4.7.6 / 5.0.6 | ||||
Summary | 0005312: Using oxstyle tags in widget does not includes css | ||||
Description | Using oxstyle tags in widget does not includes css. | ||||
Steps To Reproduce | Create 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. | ||||
Tags | CSS, Smarty, Widgets | ||||
Theme | All | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
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. |
|
Thank you for reporting this issue. Currently the [{oxstyle}] isn’t added by default in the admin space. So if you want to change the css you can easily add the <link>-tag with the css directly in the template, or you can use our oxstyle method to register all css files and include them with [{oxstyle}]. |