Hi! I love this module and have been using it like crazy... but I have run into something Im not quite sure how to solve.
I am using the story content type to create blog/news posts. I have a view of them and I also have a block view with a month/year argument so that I can view post by "Month Year".
The url hierarchy goes like this (using pathauto) blog/200905/some-title where 200905 is the creation year and month
The custom breadcrumbs are fine on the story nodes themselves, but when I navigate to blog/200905 I need the breadcrumbs to display Blog > May 2009
Ideas? thanks in advance!
p.s. I know i could make a custom breadcrumb for each possible date... obviously this isn't really an elegant way to do it..
Comments
Comment #1
MGN commentedIf I understand correctly, you have a view at blog/yyyymm that lists the posts for that month and year. So create a views type breadcrumb (using the custom_breadcrumbs_view submodule) and select the view (it will be listed by the view path that you entered when you created the views page display - probably blog/% ).
You can get the month and year from the node tokens [month] and [yyyy] - the first node returned by the view will be used to replace these tokens. So I would set up the titles and paths as:
Titles:
Blog
[month] [yyyy]
Paths:
blog
(assuming you don't want to link the date crumb to anything). That should do it!
Comment #2
amysteen commentedOkay I hear what you are saying and that makes sense. I will try this out when I get a chance... I think I was having some confusion with views and arguments but what you said helps clarify it :)
Closing for now!