Display of Breadcrumbs for Calendar Page

bomarmonk - October 26, 2007 - 20:51
Project:Calendar
Version:6.x-2.0-rc2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

For my calendar page, the breadcrumb lists the name of my calendar three times: the middle one links to the overview of an entire year, the other two both go to the month overview. I'm not sure what these breadcrumbs should reflect, or if there is a way to fine tune how they work with the calendar page. Right now, they appear to be somewhat broken. See picture attached.

AttachmentSize
calendar_breadcrumbs.jpg67.08 KB

#1

Tobias Weibel - November 7, 2007 - 23:06

It has something to do with having iCal and RSS arguments.

#2

jblackhall - November 9, 2007 - 23:26

I think this is a problem with your View. Edit your calendar view and look at your Arguments section. In the Title column, make sure to specify % substituions for each argument. Then make sure to specify Wildcards and Wildcard Substitutions for each. I think the reason you're getting screwy breadcrumbs is because you haven't specified Wildcard Substitutions (which show up when you're in almost any calendar view because you're viewing "all days" for a specific month or "all months" for a specific year). Here is an example of what you could use:

Calendar: Year
Display all values
%1
all
All Years

Calendar: Month
Display all values
%2
all
All Months

Calendar: Day
Display all values
%3
all
All Days

Calendar: iCal Feed
Display all values
(I don't fill in the Title, or wildcards stuff for this, but maybe I should)

#3

bomarmonk - November 18, 2007 - 10:14
Status:active» fixed

Apparently the title, wildcard, and wildcard substitutions were the problem. I set these values as suggested by jblackhall and the breadcrumbs work a whole lot better. Thank you, jblack!

#4

Anonymous - December 2, 2007 - 10:23
Status:fixed» closed

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

#5

scottrigby - October 5, 2008 - 03:01
Version:5.x-1.7» 6.x-2.0-rc2
Status:closed» active

This above solution applies to the D6 version as well - jblackhall's method in #2 still works (for making the breadcrumb reflect the date being browsed). Great!

But... I'm reopening the issue, because I want to do something that relates to the original post...

My site's calendar is in a specific section of the site (under 'info').
So I'd like to set the breadcrumb to reflect this: home > info > calendar > october, 2008
Currently I only see: home > october, 2008

I installed menu_breadcrumbs hoping that my calendar's position within the menu would reflect in the breadcrumbs... (I even increased that mod's weight to 10, but didn't seem to do anything - and I know it works elsewhere so that's not the problem).

Any suggestion about how to achieve this?

Thanks :)
Scott

 
 

Drupal is a registered trademark of Dries Buytaert.