|
Hi,
I found a thread on how to include javascript, related to Vers. 3.6 of Ilias. As 3.7.x obviously has changed (e.g. functions.js is not included by default ...), I have the heart to ask:
I try to set up my own layout: I created a new folder "myname" in /ilias3/templates/ as a copy of "default" and a folder "myname" in /ilias3/content/templates as a copy of the default folder residing there. I already made some changes, which work well.
As a next step I'd like to include javascript functions in my pages. The script resides in /ilias3/templates/myname/myscript.js. The script is tested, it works perfectly in another (non-ilias) installation.
I included the script in /ilias3/content/templates/myname/tpl.page.html (<header> ... <script src=...></script> ... </header>).
The result of my attempt is, that if I open the learning module (two frames layout), I see the navigation frame on the left, but I do not see anything of the course material on the right (as I can, if I don't include the .js-file), the right frame is left gray (or white, if I stop loading the page). The browser keeps beeing busy loading ...
Is this the wrong way or place? Or do I have to switch on javascript somewhere?
Kind regards
Ulrich
|