User Tools

Site Tools


tc:breadcrumbs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tc:breadcrumbs [2006/09/18 20:00] – additional usability references for terminal symbols fgmtc:breadcrumbs [2023/11/13 15:37] (current) – replaced Drupal links by monospace text fgm
Line 19: Line 19:
 When browsing the term 'rice', I assume the breadcrumb should be: When browsing the term 'rice', I assume the breadcrumb should be:
  
-[[/|home]] [[taxonomy/vocabulary/1|food]] [[taxonomy/term/1|grains]]+''/|home > taxonomy/vocabulary/1|food > taxonomy/term/1|grains''
  
 When browsing a node assigned to rice, the breadcrumb should be: When browsing a node assigned to rice, the breadcrumb should be:
  
-[[/|home]] [[taxonomy/vocabulary/1|food]] [[taxonomy/term/1|grains]] [[taxonomy/term/3|rice]]+''/|home > taxonomy/vocabulary/1|food > taxonomy/term/1|grains > taxonomy/term/3|rice''
  
 We should probably look at the [[http://drupal.org/project/taxonomy_breadcrumb|taxonomy_breadcrumb module]] for comparison. We should probably look at the [[http://drupal.org/project/taxonomy_breadcrumb|taxonomy_breadcrumb module]] for comparison.
Line 32: Line 32:
 2006/09/18 I'm a bit reluctant on this. One the one hand, ISTR that breadcrumbs in drupal are supposed to as you describe. OTOH, there's a [[http://drupal.org/node/64067|snippet]] to include the page title, which means it is felt as needed and, maybe more importantly, Steve Krug, in its oft-quoted "Don't make me think" book about web usability, insists on including and even boldfacing the last item in the breadcrumbs (p.75 1st edition), and I think this advice is as good as most of the book (I hear even Dries has it). Jakob Nielsen's "The art of simplicity" mentions it too (p.204 on the french edition), and he uses it for [[http://www.useit.com|hist own site]]. To illustrate this example I'd say that browsing "rice" should give  2006/09/18 I'm a bit reluctant on this. One the one hand, ISTR that breadcrumbs in drupal are supposed to as you describe. OTOH, there's a [[http://drupal.org/node/64067|snippet]] to include the page title, which means it is felt as needed and, maybe more importantly, Steve Krug, in its oft-quoted "Don't make me think" book about web usability, insists on including and even boldfacing the last item in the breadcrumbs (p.75 1st edition), and I think this advice is as good as most of the book (I hear even Dries has it). Jakob Nielsen's "The art of simplicity" mentions it too (p.204 on the french edition), and he uses it for [[http://www.useit.com|hist own site]]. To illustrate this example I'd say that browsing "rice" should give 
  
-[[/|home]] [[taxonomy/vocabulary/1|food]] [[taxonomy/term/1|grains]] > rice+''/|home > taxonomy/vocabulary/1|food > taxonomy/term/1|grains > rice''
  
 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: 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/vocabulary/1|food]] [[taxonomy/term/1|grains]] [[taxonomy/term/3|rice]] > Carnaroli+''/|home > taxonomy/vocabulary/1|food > taxonomy/term/1|grains > taxonomy/term/3|rice > Carnaroli''
  
 ... 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. ... 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.
Line 42: Line 42:
 or possibly  or possibly 
  
-[[/|home]] [[taxonomy/vocabulary/1|food]] [[taxonomy/term/1|grains]] [[taxonomy/term/3|rice]] [[http://example.com/carnaroli_permalink|Carnaroli]]+''/|home > taxonomy/vocabulary/1|food > taxonomy/term/1|grains > taxonomy/term/3|rice > http://example.com/carnaroli_permalink|Carnaroli''
  
 to include automatic permalinks within the same logic to include automatic permalinks within the same logic
Line 50: Line 50:
   * using the latest patch by FGM on top of 4.7.3, the situation is mostly the one I describe, but this leads to a peculiar path on the taxonomy/vocabulary/<vid> page : the breadcrumb currently becomes :   * using the latest patch by FGM on top of 4.7.3, the situation is mostly the one I describe, but this leads to a peculiar path on the taxonomy/vocabulary/<vid> page : the breadcrumb currently becomes :
  
-[[/|home]] [[taxonomy/vocabulary/1|food]] > food+''/|home > taxonomy/vocabulary/1|food > food''
  
   * in this situation, it should probably just be :   * in this situation, it should probably just be :
  
-[[/|home]] > food+''/|home > food''
  
 ==== Other P.O.V. ? ==== ==== Other P.O.V. ? ====
tc/breadcrumbs.1158609633.txt.gz · Last modified: 2020/11/23 17:23 (external edit)