• Register
Plug-in Tutorial Build an EC-CUBE plug-in

Top Commentators

114

1

EC Mike

SHOGUNSHOGUN

32

2

hrbabu

SAMURAISAMURAI

29

3

Sumant Jha

SAMURAISAMURAI

29

4

justcubed

SAMURAISAMURAI

21

5

Ashok Kafle

SAMURAISAMURAI

21

6

shahith

SAMURAISAMURAI

14

7

Jeemusu

KABUKIKABUKI

14

8

Yangsin

KABUKIKABUKI

9

9

Zaw Hlaing Bwar

GEISYAGEISYA

8

10

Fei Liu

GEISYAGEISYA

Ranking Key

  • FUJISANFUJISAN1,000+ posts
  • SAKURASAKURA500+ posts
  • SHOGUNSHOGUN100+ posts
  • NINJYANINJYA50+ posts
  • SAMURAISAMURAI20+ posts
  • KABUKIKABUKI10+ posts
  • GEISYAGEISYALess than 10 posts

calling js file

–1 vote

how to call js external file? where is the code to call the js file? I searched almost all file but i cant find the code js include ex. 

<script type="text/javascript" src="/eccube/html/js/jquery-1.4.2.min.js"></script>

where is this code executed?? because i like to include my own js file. Thanks

asked 2014-10-19 by Dr. DC (130 points) GEISYAGEISYA

1 Answer

0 votes
That file is called several times in different templates, but the file you're looking for is likely: data/Smarty/templates/default/site_frame.tpl

For future reference, site_frame.tpl is (like the title says) the frame that wraps all page content. If you're looking to include some sort of JS or CSS code in the <head> block, that's the file you want.
answered 2014-12-23 by justcubed (1,120 points) SAMURAISAMURAI
...