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

MGN’s picture

Category: bug » support

Can 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.....

lion123’s picture

Well, the link should be example.com/1-class or example.com/1class (without dot (.))

I'll test the dev version and let you know.

MGN’s picture

Assuming 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.

MGN’s picture

Status: Active » Postponed (maintainer needs more info)
lion123’s picture

Status: Postponed (maintainer needs more info) » Fixed

Pathauto ignores punctuation in my case.

Thank you, the last advice worked. Everything is ok now.

Status: Fixed » Closed (fixed)

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