Hi,
In my site, I have a views with title 'My articles' and there are many articles under this views.
Path of views is '/articles'. When I navigate to the views, I get breadcrumb 'Home >> My Articles' and this is good. But when I navigate to one of the article in the views, my breadcrumb is 'Home >> Articles >> article1'. So, it is not retrieving actual title of views. Is there any way to get actual title in later case also?
Thank you.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | easy_breadcrumb-view-menu-title-1984144.patch | 1.48 KB | gboggs |
Comments
Comment #1
greg boggsClearly a bug. Looking into it.
Comment #2
gboggs commentedLoading the view page title would require loading the view. Loading a view can be potentially VERY expensive for building a breadcrumb. So, Instead, I loaded the item title from the menu router.
What that means is, if you set a menu link to any menu for the view (including a hidden menu) then that menu text will be used for the breadcrumb text with this patch:
Comment #3
sonemonu commented