First of all i think this is a potentially great module. there are some errors still however:

configuring a breadcrumb which displays a taxonomy term belonging to the node on a node page causes a WSOD (500 error aamof)

I created a hansel breadcrumb for an 'information article'. The path of the node might look like:
mysite/informacion/legal/laws/law-lorem-ipsum

the 'information' node has a taxonomy term which defines the 'group of articles' the node belongs to. the group of articles is a taxonomy vocabulary with hierarchical terms. So LEGAL is parent term of LAWS.

My 'Hansel hierarchy is like this':

  • 1. start
    add link inicio
    switch on path alias (starts with)
    admin
    leave (restore original breadcrumbs)
  • 2. blog
    leave (restore original breadcrumbs)
  • 3. foros
    leave (restore original breadcrumbs)
  • informacion
    add link información
    • switch on url argument 1
      node
      Add term path using the vocabulary Grupo de artículos (información)
      leave

So in short: i check for the path, if the path is 'informacion', i check if its a node, and then i want to output a link to the taxonomy term belonging to the node.

I hope this information helps,

CommentFileSizeAuthor
#2 wsod_after_implementing-1159940-2.patch1.99 KBAnonymous (not verified)
#1 wsod_after_implementing-1159940-1.patch1.67 KBAnonymous (not verified)

Comments

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Needs review
StatusFileSize
new1.67 KB

Created a patch, can you confirm this solves your problem?
As soon as patch is confirmed I will commit to dev.

Greets

Tim

Anonymous’s picture

StatusFileSize
new1.99 KB

Renewed patch for hierarchy of taxonomy terms

Tim

nuez’s picture

seems to work now, tnx, groeten!

Anonymous’s picture

Status: Needs review » Fixed

committed to dev.

Tim

Status: Fixed » Closed (fixed)

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