How to use Hansel Module?
"Switch on node type" is like a switch($case){} statement in PHP (and other languages).



After selecting "Switch on node type" in Hansel, you will need to provide the *machine_name* of the node-type in the "Name" field that Hansel presents.  For instance, you can enter one of the following in the "Name" field:



article -- will target Article nodes 
blog_entry -- will target Blog Entry nodes
webform -- will target Webform nodes
&lt;default&gt; (for remaining node types)



If it were in code, it would look something like:




switch($node->type) {
  case 'article':
    // Make an article crumb
    break;
  case 'blog_entry':
    // Make a blog-entry crumb
    break;
  case 'webform':
    // Make a webform crumb
    break;
  case '&lt;default&gt;':
    // Do something for everything else...
    break;
}




"Switch on path argument" works the same way... but, instead of providing a node-type in the "Name" field, you should enter the path-argument you're targeting, such as: 



node (to control breadcrumb on pages with a path like node/*)
taxonomy (i.e. for taxonomy/term/* pages)
admin (i.e. admin/* pages)
blogs (i.e. blogs/* pages)




$path_arg_1 = arg(0);

switch($path_arg_1) {
  case 'node':
    // Make a crumb for node/* pages
    break;
  case 'taxonomy':
    // Make a crumb for taxonomy/* pages
    break;
  case 'admin':
    // Make a crumb for admin/* pages
    break;
  case 'blogs':
    // Make a crumb for blogs/* pages
    break;
}




It seems Hansel can only target the first path-argument.  Also note that &lt;default&gt; seems to only work for "Switch on node type".



To create Home->Bussiness->Faq->How To Tie a Tie (assuming Business is a tax-term and Faq is node-type):



First Rule (for the breadcrumb's head, i.e. "Home" link)
Create a rule with the name start, and leave "Parent" set to &lt;root&gt;
Under "action with breadcrumb", select "add a single link"
Set "Action" to "switch", then click "next"
Enter "Home" as your link name, then set path to &lt;front&gt;
Select "switch on url argument" and click "save"
Second Rule (for the breadcrumb's tail, i.e. node-title: "How To Tie a Tie")
Create a rule with the name finish, and leave "Parent" set to &lt;root&gt;
Under "action with breadcrumb", select "add link to current page"
Set "Action" to "leave", then click "next" and "save"
So far, these two rules will get you: Home->How To Tie a Tie
Third Rule (for the second crumb, i.e. taxonomy term "Business")
Create a rule with the name node, and set "Parent" to -start
Under "action with breadcrumb", select "add term path"
Set "Action" to "switch", then click "next"
On the next page, select the vocab containing the "Business" term
Set "Switch on" to "node type"  then click "save"
Fourth Rule (for the third crumb, i.e. node-type "Faq")
Create a rule with the name faq (for node type "FAQ"), and set "Parent" to --node
Under "action with breadcrumb", select "add link to nodetype"
Set "Action" to "Goto rule", then click "next"
On the next page, configure the "Path" as desired
Set the "Goto Destination" to -finish then click "save"