Secondary Links disappeared

cpelham - July 17, 2008 - 00:55

I have three menus.
When I go to /drupal/en/admin/build/menu
it now (perhaps since upgrading from Drupal 5.7 to 5.8?) shows only two menu titles.

When I go to /drupal/en/admin/build/menu/settings
I can see that the Menu containing secondary links: drop-down now has a blank line where it should show the name of my secondary menu.

I should note that the secondary menu itself still shows up at the top of my pages, formatted via Nice Menus. I simply can't edit the menu.
Do I need to go into the database itself and edit the menu title?

problem solved by unchecking "Collapse menus in menu admin"

cpelham - July 17, 2008 - 05:03

Because I didn't give my secondary menu a title (one way of preventing the title from showing up; using css would probably have been a better solution), when Menu Administration collapsed by menus and only displayed the menu titles, there was nothing to display and thus nothing to expand...

—————————

Christopher Pelham
Director
CRS (Center for Remembering & Sharing)
123 4th Ave, 2nd FL
New York, NY 10003
212-677-8621
www.crsny.org

different kind of problem

jyiping - October 9, 2008 - 15:57

I Created my categories in this way: Using taxonomy I made two differents vocabulary. I checked "Required" for both.
After that I managed my primary and secondary links, set, for all secondary links, parents among the primary. Something like that
Primary: Sport, Gossip....
Secondary parent Sport: Football, tennis
Secondary parent Gossip: celebs, photos.
....
I also chose "Source for the secondary links: Primary Links "

In this way all my children are shown in secondary menu!

All works great, except when I press on any story title: Infact, If I create some story and then choose two tags among mine ( properly named as my menu's Item) and I publish my content, then press Primary menu item ( ex. sport) and secondary appear ( so "Sport" ACTIVE and "football" " tennis" in Sub-menu) and the story summery is shown just below. But If I click on the title of the story, it is perfectly shown, but the secondary menu disappear and now trail is shown!

How can I solve my problem!?!?! What I need is a very tipical Menu and Sub-menu, with "Active Trail" workable (I'm using Drupal 6.x) and the breadcrumb that follow my category!

That's my simple page code and the Style about menus

  <?php if (isset($primary_links)) { ?>
    <div id="primary"><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?></div>
  <?php } ?>
   <?php if (isset($secondary_links)) { ?>
    <div id="secondary"><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'navlist')) ?></div>
  <?php } ?>
 
   <div id="page">
    <?php if ($left) { ?>
      <div id="sidebar-left" class="clearfix">
      <?php print $left ?>
      </div>

and

primary {
padding:0px 0px 0px 20px;
}
#primary ul{
  display:block;
  height:32px;
  width:916px;
  margin-left:21px;
  background:url(images/BGs/bg_menu.gif) repeat-x;
  font-size:12px;
  font-weight:500;
  font-family:Arial, Verdana, sans-serif;
 
}

#primary a {
  display:block;
  text-align:center;
  color:#f2ffdf;
  padding:8px 10px 0px 10px;
  float: left;
  text-decoration:none;
}
#primary a:hover  {
height:22px;
text-decoration:none;
background:url(images/BGs/bg_menu_hover.gif) repeat-x;
}
#primary a.active-trail {
background:#c0c0c0;
color:#fff;
height:24px;
}

#primary ul.links li {
  padding:0;
}
#secondary {
padding:0px 0px 0px 20px;
}
#secondary ul{
  display:block;
  height:32px;
  width:916px;
  margin-left:21px;
  background:#c0c0c0;
  font-size:12px;
  font-weight:500;
  font-family:Arial, Verdana, sans-serif;
}

#secondary a {
  display:block;
  text-align:center;
  color:#f2ffdf;
  padding:8px 10px 0px 10px;
  float: left;
  text-decoration:none;
}
#secondary a:hover {
height:22px;
text-decoration:none;
background:#FF6600;
}

#secondary a.active-trail {
background:#f00;
color:#fff;
height:24px;
}

#secondary ul.links li {
  padding:0;
}

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.