View Issue Details

IDProjectCategoryView StatusLast Update
0005746OXID eShop (all versions)2.3. Extensions (modules, themes)public2018-08-08 10:30
Reporteraurimas.gladutis 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.6.7 
Target VersionFixed in Version 
Summary0005746: Timestamp is not added for css and js files included from module
DescriptionCurrently when including js or css file from module, you usually do it like this:
[{oxstyle include=$oViewConf->getModuleUrl('module','path/to/file.css')}]

Now getModuleUrl creates full path to file (including host http://host.com/) and both oxstyle and oxscript plugins checks whether included file starts with http (which it does), and if so - does not add any filetime to the end.
This is done so that filetime would not be added to files from other server, but the check itself is incorrect.

This check should check if the domain is actually different, not only if the full path is specified.
TagsSolution Provided
ThemeAll
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities