ILIAS open source Forums

Forums have been moved to the ILIAS Information Center!
Please do not post bug reports into these forums but into the Mantis Bug Tracker.
Please do not post any security exploits. Act accoring to RFPolicy and send a mail to "ilias-security AT uni-koeln DOT de" .
It is currently Tue May 21, 2013 18:41

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Javascript in 3.7.5: JS in an external file does not work
PostPosted: Wed May 23, 2007 16:12 
Offline

Joined: Wed Apr 25, 2007 08:15
Posts: 15
Location: Neuburg
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group