When i try to change the name or translate the interface to spanish or delete the title of the primary links i can not find the word or the way to delete or change this word

CommentFileSizeAuthor
bug.JPG11.1 KBolbapcrazy

Comments

hswong3i’s picture

Priority: Critical » Normal

Title of primary links == "menu name" of your primary menu. E.g. in D6, default primary menu should be configure from admin/build/menu-customize/primary-links/edit. Just edit it and the title will change.

code references from template.php:

/**
 * Return a themed primary menu.
 */
function internet_services_primary($items = array()) {
  $menu_options = menu_get_menus();
  $primary_links = variable_get('menu_primary_links_source', 'primary-links');
  $output = '<div class="title">' . $menu_options[$primary_links] . '</div>';
  $output .= theme('links', $items);
  return $output;
}

Translation should be another issue. Since the title is saved as variable so Drupal should able to handle it. I haven't give a complete test to it, but as I remember it should be function in D5.

olbapcrazy’s picture

Exelent!! thank you very much

hswong3i’s picture

Assigned: olbapcrazy » hswong3i

Any else update? Or I will set this issue as fixed :-)

hswong3i’s picture

Status: Active » Fixed

Assume as fixed since no more feedback.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

scooogie’s picture

For anyone who wants to make the Primary Link Title dissappear altogether, try this:

#block-menu-primary-links h2.title /* Block title for Primary Links Menu */
{
/* Hide the Primary Links menu title. */
display: none;
}