I'd like to be able to have the URL's for a book be done in the following manner:

[author-raw]/[title-raw]

But, the book root should be at [author-raw]. As is, that isn't possible. I've attached a starting patch which adds a separate field for book roots. I'd like some feedback on the feature, and if it sounds good I'll update this so it does the multi-language fields properly.

Thanks!

Comments

greggles’s picture

Status: Needs work » Postponed

This is a great idea, but probably not possible until #273104: Using "progressive disclosure" for alias patterns gets in. We need to simplify the UI, but this patch makes it more complex...

If you have time to help work on/review #273104: Using "progressive disclosure" for alias patterns that would be great.

dave reid’s picture

Component: Code » Tokens
dave reid’s picture

Status: Postponed » Closed (won't fix)

Yeah it's not likely we'd support this. Your best bet is to work on your own custom token which provides the text you need in both conditions.