tc:breadcrumbs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tc:breadcrumbs [2006/09/18 19:41] – fgm | tc:breadcrumbs [2006/09/18 20:02] – fgm | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Breadcrumbs output by the taxonomy_context module ====== | ||
- | * what should their content be ? | ||
- | |||
- | Nedjo: Breadcrumbs in Drupal lead up to, but do not include, the current page. Assume a taxonomy like this: | ||
- | |||
- | < | ||
- | Food (vocabulary id 2) | ||
- | grains (root term, id 1) | ||
- | wheat (second-level term, id 2) | ||
- | rice (second-level term, id 3) | ||
- | vegetables (root term, id 4) | ||
- | potatoes (second-level term, id 5) | ||
- | onions (second-level term, id 6) | ||
- | </ | ||
- | |||
- | When browsing the term ' | ||
- | |||
- | [[/|home]] > [[taxonomy/ | ||
- | |||
- | When browsing a node assigned to rice, the breadcrumb should be: | ||
- | |||
- | [[/|home]] > [[taxonomy/ | ||
- | |||
- | We should probably look at the [[http:// | ||
- | |||
- | Frederic: I'm a bit reluctant on this. One the one hand, ISTR that breadcrumbs in drupal are supposed to as you describe. OTOH, there' | ||
- | |||
- | [[/|home]] > [[taxonomy/ | ||
- | |||
- | and show a page related to the terms rice, typically the list of nodes matching the term. while browsing a node assigned to rice, say Carnaroli, the breadcrumb should be: | ||
- | |||
- | [[/|home]] > [[taxonomy/ | ||
- | |||
- | ... which happens to be how drupal works from the home page, which by default displays a node list matching a criterium (published + promoted), from which each node is one level deeper as a detail page. Same with these taxonomy contexts: term page lists nodes, putting the node list in its parental context, and node pages show the nodes, in their parental context. | ||
- | |||
- | or possibly | ||
- | |||
- | [[/|home]] > [[taxonomy/ | ||
- | |||
- | to include automatic permalinks within the same logic |
tc/breadcrumbs.txt · Last modified: 2023/11/13 15:37 by fgm