Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • davidyv Friend
    #149123

    How to make mainmenu just not show on homepage and show on other pages? Thanks!

    David


    1. question
    Saguaros Moderator
    #334577

    pls open the file templatesja_halitelayoutsblocksmain.php and try to find codes:
    [PHP]
    <div id=”ja-mainnav” class=”clearfix”>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0); ?>

    </div>
    [/PHP]
    and replace:
    [PHP]
    <?php if( !$this->isFrontPage() ) { ?>
    <div id=”ja-mainnav” class=”clearfix”>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (0); ?>

    </div>
    <?php } ?>
    [/PHP]
    Good luck

    davidyv Friend
    #335730

    Thanks a lot!

    jewellman Friend
    #342656

    I would like to do something similar- I would like to hide the mainmenu (which is my default menu in the template parameters) on a specific menu item. Basically what I am trying to accomplish is getting as close to a blank screen as possible when a specific menu item is clicked because I am running an application from that link and it would be nice to put a real generic look to it.

    Is this possible?

    Thanks!

    Saguaros Moderator
    #342856

    Dear jewellman!

    i’m sorry, the ja menu could not do as you expected

    Thanks

    alicebb Friend
    #343734

    <em>@tienhc 167374 wrote:</em><blockquote>pls open the file templatesja_halitelayoutsblocksmain.php and try to find codes: </blockquote>
    This is not correct. The relevant code is to be found in a different file header.php not main.php e.g, on my UNIX server
    /templates/ja_halite/layouts/blocks/header.php

    Saguaros Moderator
    #343906

    Dear alicebb!
    i’m very sorry for my mistaken, you are right,

    Thanks

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

This topic contains 7 replies, has 4 voices, and was last updated by  Saguaros 14 years, 6 months ago.

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