I am trying to create a custom theme. The active menu item in main-menu works nicely except when the node is an article and the user clicks "Read More." When that happens, the visual indicator of the active menu disappears.
Can someone steer me in the direction of a fix?
TIA.
Sue
does the node have a menu item in the heirarchy? On May 12, 2012 6:03 PM, "Susan Mangold" smangold@columbus.rr.com wrote:
I am trying to create a custom theme. The active menu item in main-menu works nicely except when the node is an article and the user clicks "Read More." When that happens, the visual indicator of the active menu disappears.
Can someone steer me in the direction of a fix?
TIA.
Sue
[ Drupal support list | http://lists.drupal.org/ ]
No. The node is set up to display on the front page.
On 5/12/12 11:41 AM, Idan Arbel wrote:
does the node have a menu item in the heirarchy?
On May 12, 2012 6:03 PM, "Susan Mangold" <smangold@columbus.rr.com mailto:smangold@columbus.rr.com> wrote:
I am trying to create a custom theme. The active menu item in main-menu works nicely except when the node is an article and the user clicks "Read More." When that happens, the visual indicator of the active menu disappears. Can someone steer me in the direction of a fix? TIA. Sue -- [ Drupal support list | http://lists.drupal.org/ ]
On Sat, May 12, 2012 at 1:13 PM, Susan Mangold smangold@columbus.rr.com wrote:
No. The node is set up to display on the front page.
So what!? It can still have a menu item if the user's role allows a menu item to be added. However, you probably don't want this for articles. I'm not understanding your issue. What "active menu indicator" are you referring to? Maybe some pictures will help.
Sorry for the confusion.
I have a tabbed main menu. The active tab has a different color so the user always knows which tab is active. I display multiple articles on the home page. When viewing the article teasers, the home page tab shows active. When the user clicks Read More, the node displays to show the complete content and none of the navigation tabs show as active.
My initial thought was that the home tab should still display as active since the article appears on the home page.
Does this help?
TIA.
Sue
On 5/12/12 4:51 PM, Earnie Boyd wrote:
On Sat, May 12, 2012 at 1:13 PM, Susan Mangoldsmangold@columbus.rr.com wrote:
No. The node is set up to display on the front page.
So what!? It can still have a menu item if the user's role allows a menu item to be added. However, you probably don't want this for articles. I'm not understanding your issue. What "active menu indicator" are you referring to? Maybe some pictures will help.
How can the menu system set an "active trail" if the item is not part of a menu hierarchy? So, no, in this case, you should not expect any menu items to show active. There is probably a module that would do it; you might look at menu_block or custom_breadcumbs.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Susan Mangold
I have a tabbed main menu. The active tab has a different color so the user always knows which tab is active. I display multiple articles on the home page. When viewing the article teasers, the home page tab shows active. When the user clicks Read More, the node displays to show the complete content and none of the navigation tabs show as active.
My initial thought was that the home tab should still display as active since the article appears on the home page.
I will check it out.
Thanks for your help.
Sue
On 5/12/12 5:25 PM, Ms. Nancy Wichmann wrote:
How can the menu system set an "active trail" if the item is not part of a menu hierarchy? So, no, in this case, you should not expect any menu items to show active. There is probably a module that would do it; you might look at menu_block or custom_breadcumbs. /*Nancy*/ Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
------------------------------------------------------------------------ *From:* Susan Mangold I have a tabbed main menu. The active tab has a different color so the user always knows which tab is active. I display multiple articles on the home page. When viewing the article teasers, the home page tab shows active. When the user clicks Read More, the node displays to show the complete content and none of the navigation tabs show as active. My initial thought was that the home tab should still display as active since the article appears on the home page.