test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • chaddef Friend
    #117632


    Line : 9
    Char : 2
    Error : 'jasdl_activemenu' is undefined
    Code : 0
    URL : http://yourdomain.com/joomla/

    How to fix it?

    Khanh Le Moderator
    #211639

    Please provide your live site url.

    chaddef Friend
    #211643

    Please provide your live site url.</blockquote>
    http://www.netviet.tv/nv/
    Thank!

    chaddef Friend
    #211660

    Please help me!

    ha le-viet Developer
    #211661

    Hi chaddef,

    The problem caused by having no submenu in Dropline menu mode. Please add at least a submenu to your menu system, the problem’ll be gone. We will provide a fix for this bug soon.

    Patch:

    Replace the function endMenu in the file ja-scriptdlmenu.class with this one:

    function endMenu(){
    $this->main = "<div id="jasdl-mainnav"><ul>n". $this->main . "</ul></div>";
    if ($this->sub != "") {
    $this->sub = "<div id="jasdl-subnav">n". $this->sub . "n</div>n";
    } else {
    $this->sub = "<div id="jasdl-subnav">n</div>n";
    }
    $this->sub .= '
    <script type="text/javascript">
    var jasdl_activemenu = new Array('. ( (count($this->parent->open) == 1) ? ""{$this->parent->open[0]}"" : implode(",", array_reverse($this->parent->open)) ) .');
    </script>';
    }

    Regards,
    Ha Le-Viet.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  ha le-viet 18 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum