Change text of "documents"

kriskd - December 1, 2007 - 15:19
Project:Docs
Version:5.x-1.0-alpha3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Under the "path" section there is a link called "documents" and the other category links. How can I changes "documents" to "Back to all categories" for example? My users are finding this wording a bit confusing.

I might be able to poke around in the mod files to find this, but is this something that could be done in template.php?

#1

thaha - January 31, 2008 - 17:52

this can be change by changing the code

//the directory browser
$items[] = array(
'path' => 'docs',
'title' => t('Document'),
'description' => t('Document manager download interface'),
'callback' => 'docs_browser',
'access' => TRUE,
'type' => MENU_SUGGESTED_ITEM,// MTS Changed to From MENU_NORMAL_ITEM to MENU_SUGGESTED_ITEM
);

to

//the directory browser
$items[] = array(
'path' => 'docs',
'title' => t('Back to all category'),
'description' => t('Document manager download interface'),
'callback' => 'docs_browser',
'access' => TRUE,
'type' => MENU_SUGGESTED_ITEM,// MTS Changed to From MENU_NORMAL_ITEM to MENU_SUGGESTED_ITEM
);

 
 

Drupal is a registered trademark of Dries Buytaert.