Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2010 at 14:47 UTC
Updated:
20 Jun 2010 at 14:30 UTC
Hi,
I'm trying to use [vocab-raw] or [vocab] with "node" breadcrumb type but it doesn't work. The problem is that if I have punctuation or any special characters, it uses them. Example:
my vocabulary is called: 1.class
displayed: 1.class
link leads to: example.com/1.class
Am I missing something or this is a bug?
Comments
Comment #1
MGN commentedCan you explain what you mean by "it doesn't work"? Are the token's being replaced properly?
I don't think the punctuation should matter - as long as you can normally access the page by typing the path in your browser, I think it should work.
When you use the tokens, what path are you getting, and what should it be?
Also, you might try the latest code in 6.x-2.x-dev ? There have been some significant bug fixes. I am preparing to release beta4 soon.....
Comment #2
lion123 commentedWell, the link should be example.com/1-class or example.com/1class (without dot (.))
I'll test the dev version and let you know.
Comment #3
MGN commentedAssuming you are using pathauto, you might want to check your pathauto settings for punctuation: period(.) - how is it being treated?
Try prefixing the path line that contains the vocab tokens with the pathauto special identifier (make sure the special identifier module is enabled). Adding
<pathauto>|[vocab-raw]instead of [vocab-raw] will clean the path according to the pathauto settings.Comment #4
MGN commentedComment #5
lion123 commentedPathauto ignores punctuation in my case.
Thank you, the last advice worked. Everything is ok now.