View Issue Details

IDProjectCategoryView StatusLast Update
0003062OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:44
Reporterboehme 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version4.5.2 revision 38481 
Summary0003062: smarty function oxscript includes same file for each priority
DescriptionYou 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 Reproduceit is explained in the description
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.