Menu local task title.

ldbl - February 19, 2009 - 11:57
Project:Menu Breadcrumb
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I made a simple patch if you want to add title of menu local task.
Because for example in modules like messages and relations.
If you enable to print title. when you are in local menu all messages for example.
Breadcrumb is like this home >> messages >> messages
But I wanted to be like this. home >> messages >> all messages
It's the same in relations module title of parent is printed twice.
Yes it has side effect but it's nice too. When you edit node you see 'edit' and the end of breadcrumb :)

Regards.

#1

ldbl - February 19, 2009 - 11:58
AttachmentSize
menu_breadcrumb.zip 9.62 KB

#2

ldbl - February 19, 2009 - 21:42

There is one comment that must be removed from my code
//menu_set_active_menu_name($use_menu);
must be
menu_set_active_menu_name($use_menu);

#3

xurizaemon - October 9, 2009 - 03:46
Status:needs review» needs work

Thanks for the feature request. Happy to consider accepting this if submitted as a patch.

This issue is duplicated in #313017: Navigation items from tabs aren't picked up.

#4

dsms - November 26, 2009 - 11:02

subscribe

#5

dsms - November 26, 2009 - 11:26
Status:needs work» needs review

so, worked perfect for me!

here is the patch, genereated from ldbl's zip against 6.x-1.1

I hope we will see this in -dev soon :)

AttachmentSize
local_task_patch.patch 1.72 KB

#6

yanku - November 26, 2009 - 21:35

Hi,
First, thanks for the module!
Not sure if I am in the right issue, but lets see:

Using primary links.
The breadcrumb resets, after clicking "edit".
For example:
Menu Name 1.0 > Menu Name 1.1 > Menu Name 1.2
goes
Page Name 1.2 > Page Name 1.2

but nice would be:
Menu Name 1.0 > Menu Name 1.1 > Menu Name 1.2 > edit

 
 

Drupal is a registered trademark of Dries Buytaert.