-
AuthorPosts
-
February 7, 2009 at 5:58 pm #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,
Aubreyscotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 8, 2009 at 1:38 am #290066Yes 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.
February 9, 2009 at 2:30 pm #290279Thanks 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.
-aubreyFebruary 9, 2009 at 2:47 pm #290282Scotty:
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 -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by scotty 15 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum