Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I've somehow lost the ability to show secondary links when I'm on - I have a primary link to defined and labeled as HOME and when I click on it no secondary links show. This is under Drupal 5.x
Secondary links work on other nodes, so it's working for anything but the homepage.
My consists of panels and views, but when I show the default node as it doesn't work and when I promote a page to it doesn't work - so I'm missing something somewhere, but I don't know where.
Any suggestions?
Thanks!
David
Comment | File | Size | Author |
---|---|---|---|
#5 | primary-menu.jpg | 63.76 KB | derjochenmeyer |
Comments
Comment #1
biscuit.tech CreditAttribution: biscuit.tech commentedaarrggh - the reference to < front > is being stripped out.
It should read:
I've somehow lost the ability to show secondary links when I'm on < front >
Comment #2
biscuit.tech CreditAttribution: biscuit.tech commentedWow, no one else has this problem?
Comment #3
derjochenmeyer CreditAttribution: derjochenmeyer commentedHi David, I haven't tried views and panels, do you have the same problem with other themes, especially garland?
Comment #4
biscuit.tech CreditAttribution: biscuit.tech commentedSure do.
hmmm ...
Maybe there's something I'm not understanding.
Using Garland and FourSeasons I get the same behavior: I tried creating a new menu and created a menu item for Home, then created a submenu item for a node. Then I set the menu to use mymenu for primary and secondary menus.
when I go to view the home page I don't get the secondary link, but when I go to the node I set the submenu item for I see the secondary menu.
I thought I should be able to see the secondary item when I am on the Home page as in:
Home
- node
is there something wrong or am I not understanding the concept?
thanks,
David
Comment #5
derjochenmeyer CreditAttribution: derjochenmeyer commentedIt should work. Look at the screenshot of the configuration screen of my demosite... (www.forward-media.info)
maybe its an issue of paths. My configuration is like that:
home > node
Theme Demo > node/2
Fourseasons Poll > node/1
Comment #6
biscuit.tech CreditAttribution: biscuit.tech commentedI figured it out, it was a conceptual problem.
Since I have a panel set as my home page I needed to set the menu item to link to the panel url instead of the variable < front >. I think this is generally true - the Home link will not show the submenu if you rely on the variable, you have to specify the node you are using as your default page to show the secondary menu on the homepage.
So, here's how it works:
Create a panel with views, name it "home"
Go to Site Information and set the homepage path to be "home"
Go to menu > edit and create a menu item for Home to link to "home"
(make sure your menu settings are set up for primary and secondary links to show in the same menu set)
thanks for the help,
David
Comment #7
mwnd CreditAttribution: mwnd commentedI had the same problem before. You just need to change the source for secondary links at /admin/build/menu/settings. As it says:
Select what should be displayed as the secondary links. You can choose the same menu for secondary links as for primary links (currently Primary links). If you do this, the children of the active primary menu link will be displayed as secondary links.
Comment #8
ck9 CreditAttribution: ck9 commentedThanks #7 that helped a lot
Comment #9
plan9 CreditAttribution: plan9 commentedI am using Advanced profile kit for user profile pages which uses a panels page for profiles. I'm also using Four Seasons theme. Because of the Drupal menu limitation noted in comment #6 by biscuit.tech:
Secondary menu links will not appear because I cannot give an explicit node path for the user profile page. Very disappointing. I've tried the 'Me' Alias module: http://drupal.org/project/me but this doesn't work either.