Results 1 to 5 of 5
  1. #1
    baldidiot is offline Private Member
    Join Date
    January 2010
    Posts
    5,102
    Thanks
    433
    Thanked 2,333 Times in 1,555 Posts

    Default Creating a 2-level horizontal menu in Joomla

    In light of the google dancing that's going on at the moment I'm finally getting round to working on a site I've been meaning to do ages ago but kept putting off because it's going to be a biggie (and I'm lazy).

    I want to make a 2 level horizontal menu where the top row is fixed and the second row of child items shows up depending on what page you're on. Note: I don't mean a drop down type menu, and the child level should also be fixed/not change when other menu items are hovered over.

    I know I can do it using multiple menu modules but it would be way easier if there was an extention that did it. Anyone know of any?

    Just to clarify, I'm basically trying to make this: http://www.ukcasinoguide.com/

    Look like this:

    Name:  ukcg-menu.jpg
Views: 801
Size:  22.6 KB

    Any ideas?

    Cheers!

  2. #2
    Lucky Bob's Avatar
    Lucky Bob is offline Private Member
    Join Date
    October 2011
    Location
    Niagara Falls area - Canada
    Posts
    153
    Thanks
    44
    Thanked 34 Times in 23 Posts

    Default

    I'm not a Joomla expert by any means but I've been able to do what you've described....but it's difficult for me to describe how to do it.

    There may be an extension - not sure.


    Basically you create all your menu items and you choose which pages they show up on.

    Create a new menu item and then "Select a Menu Item Type:" If you scroll to the bottom of the options you'll see the "System Links" heading. Choose "Menu Item Alias."
    This lets you make multiple copies of any of your menu items and place them on any page you want. Again, hard to explain but it works.

    Fool around with the Menu Item Alias and menu assignments and you should figure it out.
    (*PM me and I'll send you a link to the site I'm working on where I used it.)



    Good luck.

  3. #3
    baldidiot is offline Private Member
    Join Date
    January 2010
    Posts
    5,102
    Thanks
    433
    Thanked 2,333 Times in 1,555 Posts

    Default

    Hi mate. Thanks for replying

    Not sure if we're on the same page though. I'm not trying to create menu aliases - I'm trying to create a variable second menu level, without having to create a new menu.

    So if the menu looked like this:

    Home
    Online Casinos
    - Casino Bonuses
    - Casino Software
    Live Casinos
    - Live Casino Bonuses
    - Live Casinos Software

    And the user was on the 'Live Casinos' page, the sub menu would show:

    Live Casino Bonuses | Live Casino Software

    Underneath the main menu.

    This is really easy to do if you use a vertical menu (comes as standard) but not so for a horizontal menu. I could create multiple second menus to display underneath the first one and manually assign them to the appropriate pages (or more specifically, relevant itemids), but I'm trying to avoid this if possible.

    Does that make sense?
    Last edited by baldidiot; 29 April 2012 at 9:17 am.

  4. #4
    Lucky Bob's Avatar
    Lucky Bob is offline Private Member
    Join Date
    October 2011
    Location
    Niagara Falls area - Canada
    Posts
    153
    Thanks
    44
    Thanked 34 Times in 23 Posts

    Default

    We might not be on the same page....still not sure.


    If you make 2 "groups" of menus - the menus you describe above - then you can select "Casino Bonuses" & "Casino Software" to only appear on the "Online Casinos" page and like wise for the other menus. That should work if someone is on a given page - they should see the assigned menu items.

    I've used "Menu Alias" to make repeat use of menus on other select pages.

    I think it should work - except I'm unsure how to make the sub menu items stay visible.

    Have you tried the Joomla forums? There's a TON of stuff there - and chances are that someone's asked a similar question before.

    Good luck - let us know how you make out.

    Bob

  5. #5
    baldidiot is offline Private Member
    Join Date
    January 2010
    Posts
    5,102
    Thanks
    433
    Thanked 2,333 Times in 1,555 Posts

    Default

    That's pretty much my fall back solution, but I'm trying to avoid creating 10 sets of menus...

    Cheers though dude.
    onlinegamblingwebsites.com - Formally known as goodbonusguide.

    Gambling Domains: Small clear out of some of the domains we've been hoarding - see the spreadsheet here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •