Hello,

I'm searching for a clean way to suppress the root term in catpath generation. I think there's an option for this together with termpath generation, but how can i reach this with catpath?

So if this is my vocabulary structure:

Start
- One
-- Foo
- Two
- Three

the normal catpath for Foo would be "/start-one-foo", but I need it as "/one-foo"

I'm able to filter it out using the stopword list on pattern settings page, but that's not nice. Any suggestions for a better way?

Regards,
Boris

Comments

greggles’s picture

Status: Active » Fixed

The best way to solve this is with a new token that you would create using the token module.

There is documentation included with the module in API.txt.

You could also watch this video from Drupalcon Washington DC where I describe how to use token as a developer.

Status: Fixed » Closed (fixed)

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