Where to place JavaScript in WebVoyage that must be loaded on all pages
- Product: Voyager
- Product Version: 7.2+
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, Total Care
Question
Where can Javascript be placed in a WebVoyage skin so that it will be run on every page.
Answer
The use of JavaScript which is loaded on every page should be kept to a minimum in WebVoyage, however:
JavaScript can be inserted from /m1/voyager/XXXdb/tomcat/vwebv/context/vwebv/ui/en_US/xsl/pageTools/frameWork.xsl
This can be inserted within a '<script>' tag immediately following the comment:
" <!-- ## WebVoyage JavaScript Includes ## -->"
- Article last edited: 03-Apr-2019