Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • antoniu1 Friend
    #117894

    To remove the menusystem and use the one level top menu only:

    Go to index.php and remove the following block (save the original file first, just in case!):

    <!– BEGIN: MAIN NAVIGATION –>
    <div id=”ja-mainnav”<?php echo $bottomborder;?>>
    <?php
    switch ($ja_menutype) {
    case 1: echo $topnav;
    break;
    case 2:
    include($ja_template_absolute_path.”/ja_cssmenu.php”);
    break;
    case 3:
    include($ja_template_absolute_path.”/ja_transmenu.php”);
    break;
    }
    ?>
    </div>
    <!– END: MAIN NAVIGATION –>

    Then go to template_css.css, line 845 and change width to 100%:

    #ja-banner {
    float: right;
    width: 100%;
    overflow: hidden;
    border-bottom: 5px solid #3F89C3;
    height: 210px;
    background: url(../images/header/a.jpg) top left no-repeat;
    }

    That’s it! Now the menu is gone and the banner is 100% width. But the submenu system is gone of course. You can still have a split menu system though:

    This you do by creating a new menu and then set the newly created menu module to left or right. Of course you assign the menu only to those top and submenu item pages that it should appear for!

    Added: You can also install transmenu 2.0 and use that. See http://www.wetvanaantrekking.nl for how that looks!

    This does work fine, but I really wish for the developers to create a version with the menu systems to the top menu bar. So I thank them in advance. πŸ˜‰

    Good luck!
    Tom

    bernhar Friend
    #212353

    <em>@antoniu1 4892 wrote:</em><blockquote>

    But the submenu system is gone of course. You can still have a split menu system though:
    This you do by creating a new menu and then set the newly created menu module to left or right. Of course you assign the menu only to those top and submenu item pages that it should appear for!
    For a very short time you can visit http://www.wetvanaantrekking.nl to see this work perfectly. See the SUBITEMTEST menuitem.
    </blockquote>

    But a problem with this solution is, that the pathway doesnΒ΄t show “subitemtest” when visiting “sub1”. It shows “Home / sub1”! If you delete the pathway a visitor cannot see where he is, because the item in the main menu is not highlighted or marked in any way. So this is not really viable.
    Thanks anyway!

    antoniu1 Friend
    #212360

    Thanks for the response.

    You’re right, but that’s solved easily actually. Simply search in the css files for the highlight parts and set that right.

    For the pathway, oh well, turn it off. It’s not like people are going to get really lost. Not with two levels… πŸ˜‰ Never had one complaint for my own websites in years. Most people don’t even know it exists.

    I am not working for joomlart, so that’s not for me to do, but you might go out and fix the above yourself…. πŸ˜‰

    Let me know when you have done the above!
    Tom

    antoniu1 Friend
    #212364

    You can also add Transmenu 2.0 of course! Simply install it and then assign it to User3.

    I have done that. You can go to http://www.wetvanaantrekking.nl to see it work. It works perfectly and the only thing you need to do is adjust the css settings to correct colors and set shadows and stuff. Not a big deal.

    Good luck!
    Tom

    bernhar Friend
    #212368

    Tom,

    Transmenu is absolutely no option in my view. The problem is Javascript. With Javascript off it will not work and no submenu item will show up. Btw. when checking your site I saw that the green and blue boxes (Newsflash and Related items) are not rendered correctly when javascript is off. This might be only the case when they are empty. Nevertheless this surprises me.

    Bernhard

    antoniu1 Friend
    #212369

    Hi Bernhar,

    Thanks for your feedback.

    Of course, the javascript problem is there with the standard template as well. It is not my goal to remove any use for javascript as it is used with this template anyway.

    With a little tweaking you can use a splitmenu system as described above?
    But as you can see, just a few more tweaks and the Transmenu is working like a charm. It is already as it is set now and I must say it is a good alternative!

    Of course, you can always use the standard menusystem. πŸ™‚ Or force people to turn javascript on. I will.:D

    Khanh Le Moderator
    #212379

    <blockquote>This does work fine, but I really wish for the developers to create a version with the menu systems to the top menu bar. So I thank them in advance. </blockquote>
    Hi all,

    JA has provided many templates with horizental mainmenu. Many our users said that there’s too few vertical mainmenu in JA template. JA Antares is one that supports vertical mainmenu. The position of the mainmenu is quite flexible: near by the header if the header is published, otherwise, it is in left column.
    We understand that you alway want to customize our templates. However, each template has its own design, and we will not release addition version which breaks the original design. We should only give you some instruction about how to make your own customization.

    To antoniu1: Thank you very much for your kind support others here.

    Best regards,

    pidlubny Friend
    #212394

    Greetings all,

    I’m looking to do something similar:
    I wish to change the menu that appears at the top of Zidal. Currently it is set to ‘mainmenu’.

    How can this be changed to some other menu?

    Thank,
    gs

    Khanh Le Moderator
    #212400

    You could find the menu setting in files ja_cssmenu.php, ja_transmenu.php, ja_splitmenu.php… as below:


    $japarams->set( 'menutype', 'mainmenu' ); // Source of menu

    Change the mainmenu to whatever menu you’d like.

    antoniu1 Friend
    #212409

    Hi Khanh,

    Thanks for your nice response! πŸ™‚ And of course youre’ right about the designs.

    Keep up the great work!
    Tom

    antoniu1 Friend
    #212457

    Khanh,

    I am amazed to see that Transmenu 2 doesn’t function with IE6? Please take a look at http://www.wetvanaantrekking.nl.

    This is strange, because no changes are made that might affect functioning in IE6.
    Any suggestions why?

    Thanks!
    Tom

    Khanh Le Moderator
    #212475

    It seems that you have installed a separated Transmenu module on this site. Transmenu is embeded in JA Antares. I suggest that you should use the embeded menu.

    antoniu1 Friend
    #212487

    Hi Khanh,

    Thanks for your answer! πŸ™‚

    I am willing to do that, of course. Can you tell me where specifically do I change the current settings of the integrated version?

    Thanks!
    Tom

    Khanh Le Moderator
    #212488

    You could look into the index.php to understand the way we apply transmenu. Additionally, please change some setting in file ja_transmenu.php


    $japarams->set( 'menu_direction', 'right' ); // Value: down, right
    $japarams->set( 'menu_position', 'topRight' ); // Value: bottomLeft, bottomRight, topLeft, topRight

    kenneth Friend
    #213054

    <em>@antoniu1 4892 wrote:</em><blockquote>To remove the menusystem and use the one level top menu only:

    Go to index.php and remove the following block (save the original file first, just in case!):

    <!– BEGIN: MAIN NAVIGATION –>
    <div id=”ja-mainnav”<?php echo $bottomborder;?>>
    <?php
    switch ($ja_menutype) {
    case 1: echo $topnav;
    break;
    case 2:
    include($ja_template_absolute_path.”/ja_cssmenu.php”);
    break;
    case 3:
    include($ja_template_absolute_path.”/ja_transmenu.php”);
    break;
    }
    ?>
    </div>
    <!– END: MAIN NAVIGATION –>

    Then go to template_css.css, line 845 and change width to 100%:

    #ja-banner {
    float: right;
    width: 100%;
    overflow: hidden;
    border-bottom: 5px solid #3F89C3;
    height: 210px;
    background: url(../images/header/a.jpg) top left no-repeat;
    }

    That’s it! Now the menu is gone and the banner is 100% width. But the submenu system is gone of course. You can still have a split menu system though:

    This you do by creating a new menu and then set the newly created menu module to left or right. Of course you assign the menu only to those top and submenu item pages that it should appear for!

    Added: You can also install transmenu 2.0 and use that. See http://www.wetvanaantrekking.nl for how that looks!

    This does work fine, but I really wish for the developers to create a version with the menu systems to the top menu bar. So I thank them in advance. πŸ˜‰

    Good luck!
    Tom</blockquote>
    I tried the fix and it works, however…
    I get a large blank space between the top nav menu and where the banner begins. What needs to be changed to get rid of that. I’ve tried several things but nothing is doing the trick.

    Thanks in advance for your help!

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 17 replies, has 6 voices, and was last updated by  bobmarshall 17 years, 9 months ago.

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