How i can delete the Primary links Title or change the name

olbapcrazy - July 2, 2008 - 16:24
Project:Internet Services (with 2nd Edition)
Version:6.x-2.6
Component:User interface
Category:support request
Priority:normal
Assigned:hswong3i
Status:closed
Description

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

AttachmentSize
bug.JPG11.1 KB

#1

hswong3i - July 2, 2008 - 16:59
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.

#2

olbapcrazy - July 4, 2008 - 15:02

Exelent!! thank you very much

#3

hswong3i - July 25, 2008 - 14:33
Assigned to:olbapcrazy» hswong3i

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

#4

hswong3i - August 7, 2008 - 17:42
Status:active» fixed

Assume as fixed since no more feedback.

#5

Anonymous (not verified) - August 21, 2008 - 17:45
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.