Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • alyson Friend
    #123814

    I want to move the search to another position and put another short menu in the user4 position, but apparently it’s been hardcoded into the index.php file.
    it is a style, so I think that I can change the style on the user4 div, but I don’t know what to change it to… each style I’ve tried breaks the page layout.
    anyone got an answer for me?
    thanks

    here’s the code:

    <!– BEGIN: HEADER –>
    <div id=”ja-header”>

    <h1 class=”logo”><a href=”index.php” title=”<?php echo $mosConfig_sitename?>”><?php echo $mosConfig_sitename?></a></h1>

    <div id=”ja-mainnav”>
    <?php
    //Gen menu for CSS, MOO
    //Gen first level menu for Split, Dropline
    $jamenu->genMenu (0);
    ?>
    </div>

    <?php if (mosCountModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <?php mosLoadModules(‘user4’, -1); ?>
    </div>
    <?php } ?>

    <?php if ($ja_tool) { ?>
    <div id=”ja-usertoolswrap”>
    <div id=”ja-usertools” class=”clearfix”>
    <?php //genToolMenu($ja_tool & 3); ?>
    </div></div>
    <?php } ?>

    </div>
    <!– END: HEADER –>

    kashxo Friend
    #232867

    It is very depend on which module you will put in that position.
    Could you tell me the details about what would put there and where you would like to move the search to?

    alyson Friend
    #232967

    that’s the point, there is no module there. it’s hard coded into the index.php file (see code snippet), but it breaks when I remove it. it needs to be changed to be just an empty position, but I don’t know enough php to do this without help. if I unpublish the search module, it’s still in the user4 position.

    anybody?

    alyson Friend
    #232994

    hmmm. i re-uploaded the index.php file and decided to just let the search be in user4 position and now it’s allowing me to change it’s position. so problem solved…

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

This topic contains 4 replies, has 2 voices, and was last updated by  alyson 17 years ago.

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