[development] Book tokens for pathauto

Greg Knaddison Greg at GrowingVentureSolutions.com
Sun Sep 19 12:06:08 UTC 2010


Hello Everett,

Are you using Drupal 6 or 7?

I think for Drupal 6 the token you want is just called [book]. You can
find more information on writing tokens for Drupal 6 in a file called
API.txt which is inside the token.module folder.

Regards,
Greg

--
Greg Knaddison | 720-310-5623 | http://growingventuresolutions.com
Mastering Drupal | http://www.masteringdrupal.com




On Sun, Sep 19, 2010 at 3:48 AM, E.J. Zufelt <lists at zufelt.ca> wrote:
> Good morning,
> I have pathauto setup for book as:
> book/[node:book]
> Ideally I'd like to be able to set :
> books/[book:title]/[node:book]
> Where book:title is the title of the book's root node, and node:book is the
> title of the current book page (node).  I checked and there don't appear to
> be modules to provide me with additional tokens for the book module, and I
> didn't find what I was looking for on the pathauto configuration page.
> If this is a case where I am missing a simple feature or module I'd love to
> know.  I'd also be willing to write a book token module with more tokens if
> someone would point me to some type of resource to get started.
> Thanks,
> Everett Zufelt
> http://zufelt.ca
> Follow me on Twitter
> http://twitter.com/ezufelt
>
> View my LinkedIn Profile
> http://www.linkedin.com/in/ezufelt
>
>
>


More information about the development mailing list