View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003062 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2011-07-15 12:00 | 2012-12-10 13:44 |
Reporter | boehme | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0003062: smarty function oxscript includes same file for each priority | ||||
Description | You need a javascript file, e.g. jquery.min.js, at several positions in your templates. To make sure the file is loaded only one time we can make use of [{oxscript include="js/jquery.min.js"}} In some cases it is usefull to use the priority-parameter. So it can happen that you have multiple includes of the same file with different priorities in your code. [{oxscript}] will include the scriptfiles for priority 1 and priority 2 and no priority (three times!)... | ||||
Steps To Reproduce | it is explained in the description | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||