Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • reflib Friend
    #137880

    Hi there,
    Question: In Avian II can I change the module position of the sub-menu to be user1 instead of left?

    I am using the Avian Template for a Teen Page on our library’s website. At the moment I have a separate teen menu that appears in the user1 position. I am upgrading the site and confinguring the Avian II template in Joomla 1.5 right now. I would like to use a split menu so that sub-menu items show in the dropline menu on from the main site. But, in the left position i feel as though the submenu will be overlooked by teens.

    Please let me know if this is possible.
    Thank you,
    Aubrey

    scotty Friend
    #290066

    Yes you can move it but not like other modules. The split menu is hardcoded into your index.php file in the left position. You need to edit the file to remove it from left and place it on user 1 which is in a div with the ID ja-topsl-col1.

    So… open index.php and find your split menu which will look something like…[php] <?php if ($hasSubnav) : ?>
    <div id=”ja-subnav” class=”moduletable_menu”>
    <h3>On this page</h3>
    <?php if ($jamenu) $jamenu->genMenu (1,1); ?>
    </div>
    <?php endif; ?>[/php]Cut this and find <div id=ja-topsl-col1> and place the above code immedialy after.

    Don’t forget to make a backup before you start editing files.

    Also note that because this is a different position with different CSS your menu may not look the same.

    reflib Friend
    #290279

    Thanks Scotty,
    It did work when I did it the first time…
    Then I changed it back and now I can’t get it to work again – Any ideas what I could have done to make it not work now? Seems crazy to me- and v. frustrating.
    But your instructions were spot on.
    -aubrey

    reflib Friend
    #290282

    Scotty:
    I figured out my mistake – and now have a follow up question:
    The menu only inserts when going after <div id=ja-topsl-cols> which sure enough makes everything wonky cause it pushes the user columns down (sadly I can’t show you my problem as the site isn’t yet live.) Any ideas how I could patch this up?
    If not I’ll use a different menu option, just wanted to keep consistancy in the site.
    -aub

    scotty Friend
    #290313

    Can you post a screenshot of the problem please?

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

This topic contains 5 replies, has 2 voices, and was last updated by  scotty 15 years, 9 months ago.

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