Hi
I am developing an extension where I want to use a custom javascript file. I include it in my module file by:
However, when I refresh the page, it seems completely blank. The <head> tag looks okay, while the <body> is completely empty! The same thing happens when I include that file normally in fe_page template.Code:$GLOBALS['TL_HEAD'][] = '<script type="text/javascript" src="system/modules/my_module/html/frontend/js/file.js" />';
My javascript file contains only a simple alert('test');
Any ideas what's wrong?
Bookmarks