• Joomla dropdown menu in administrator not working

      0 comments

    In localhost my website was running smoothly but online in administrator it was giving problems.

    When I checked in my Firefox Browser Under the Tools Menu -> Error Console

    It was giving me this errors
    Error: window.addEvent is not a function
    File: http://localhost/joomla/Administrator/index.php
    Line: 23

    Error: Class is not defined
    File: http://localhost/joomla/Administrator/templates/khepri/js/menu.js
    Line: 20

    Error: window.addEvent is not a function
    File: http://localhost/joomla/Administrator/templates/khepri/js/index.js

    After doing lot of googling I finally found the solutions to it.

    I found out that mootools.js and the joomla.javascript.js weren’t loading properly in my website.
    If you look at the source of the page then you can easily see they’re trying to load from within the Administrator folder.

    So to resolve this, I copied the /media folder in to the Administrator folder and then edited the file Administrator/includes/application.php, line 118 which reads like:

    $document->addScript( JURI::root(true).’/includes/js/joomla.javascript.js’);

    change this to

    $document->addScript( JURI::root(true).’/../includes/js/joomla.javascript.js’);

    (Please Note: Here I have added ../ between / and includes to make it run smoothly.)
    Hope it helps you to in troubleshooting with joomla.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Better Tag Cloud