Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • hcharly Friend
    #154184

    Hello All,

    I wonder if mod_jamegamenu can fit Kyanite II version 1.2.1?
    If it needs a custom integration, what are the important points to take into account?
    The plg_system_jamenuparams plugin is installed and everything is working just fine.

    I need to make a menu with a few items at the top right just as in JA Teline III.

    Every hints and tips are welcome.
    Thanks.
    -Charles

    hcharly Friend
    #355088

    Hello,

    I can’t see the ticket.
    I am asked to login using my email and password; it doesn’t work.
    Loging in the Support Center using my classic username and pass is working but then I can’t see any new ticket.
    What am I missing?
    Thanks you.

    Saguaros Moderator
    #355108

    1) create a new mega menu: You can download the ja teline iii template: and copy file: ja_teline_iiilayoutsblockstopmega.php and create a menu group named “topmega” and create a data some similar in teline iii demo.
    2) the module works standalone, not relate with the plugin. please see useguide in here http://www.joomlart.com/forums/topic/ja-mega-menu/

    hcharly Friend
    #355648

    Sorry tienhc,

    I didn’t see your answer. I’ll try it the way you suggest.
    Thanks you.
    -Charles

    hcharly Friend
    #355659

    Hi tienhc,

    I did as you advised. Before it loads I added in /templates/ja_kyanite_ii/layouts/blocks/header.php this code: $this->loadBlock (‘topmega’); just at the beginning, after .

    The menu appears with the error below. Only the titles appeared. Their content did not.
    Some code editing are needed. But which ones?

    May you help me forward?
    In advance thanks


    Uncaught exception: TypeError: Cannot convert 'this.menu' to object
    Error thrown at line 54, column 2 in <anonymous function: start>():
    var images = this.menu.getElements ('img');
    called from line 42, column 2 in <anonymous function: initialize>(menu, options):
    this.start();
    called from line 8, column 359 in <anonymous function>() in http://www.myssite.tld/media/system/js/mootools.js:
    return(arguments[0]!==null&&this.initialize&&$type(this.initialize)=='function')?this.initialize.apply(this,arguments):this;
    called via Function.prototype.apply() from line 2, column 3 in program code:
    var megamenu = new jaMegaMenuMoo ('ja-mainnav', {

    hcharly Friend
    #356562

    Answering myself. This may help others.
    To fix this javascript error, you need to open /templates/ja_kyanite_ii/libs/menu/mega.class.php

    Find this (line 44)

    var megamenu = new jaMegaMenuMoo ('ja-mainnav', {

    Transform it like this:

    //Create menu
    $menuid = $this->getParam ('containerid', 'ja-mainnav');
    ?>
    <script type="text/javascript">
    var megamenu = new jaMegaMenuMoo ('<?php echo $menuid ?>', {

    That’s all.

    I can confirm that mod_jamegamenu will work with Ja_kyanite II after this fixes and adapting your template.css.

    -Charles

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

This topic contains 6 replies, has 2 voices, and was last updated by  hcharly 14 years, 1 month ago.

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