*

Vink

  • *****
  • 329
    • NedDate.nl
Make Jquery available
« on: February 13, 2013, 08:52:17 AM »
Hi

I can't figure out how to make Jquery available on every .tpl file without having to load
Quote
<script type="text/javascript" src="javascript/jquery.min.js"></script>
on every .tpl page were i want to use Jquery....
I am thinking on something similar as the init.php data... available on every page.
Can this be done? ???
Regards
Vink
osDate 2.19a | PHP 5.3.8 | MySQL  5.0.91

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Make Jquery available
« Reply #1 on: February 13, 2013, 09:36:39 AM »
Hello Vink,

It should load on all pages if you put the code in the index_header.tpl the same as javascript


Hi

I can't figure out how to make Jquery available on every .tpl file without having to load
Quote
<script type="text/javascript" src="javascript/jquery.min.js"></script>
on every .tpl page were i want to use Jquery....
I am thinking on something similar as the init.php data... available on every page.
Can this be done? ???
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Vink

  • *****
  • 329
    • NedDate.nl
Re: Make Jquery available
« Reply #2 on: February 13, 2013, 10:28:54 AM »
Thanks Pharg!  :D
works like a charm..
Regards
Vink
osDate 2.19a | PHP 5.3.8 | MySQL  5.0.91