<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Good morning,<div><br></div><div>Thanks for the response.</div><div><br></div><div>I am using Drupal 7. I took a look in token.tokens.inc and see that it only defines one node token on behalf of the Book module [node:book]. Which seemingly returns the same value as the node:title token. I'll play around with this some more.</div><div><br></div><div>Thanks again,<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: medium; "><span class="Apple-style-span" style="font-size: 12px; "><div>Everett Zufelt<br></div><div><a href="http://zufelt.ca">http://zufelt.ca</a></div><div><br></div><div>Follow me on Twitter<br><a href="http://twitter.com/ezufelt">http://twitter.com/ezufelt</a><br><br>View my LinkedIn Profile<br><a href="http://www.linkedin.com/in/ezufelt">http://www.linkedin.com/in/ezufelt</a></div><div><br></div></span></span></div></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 2010-09-19, at 8:06 AM, Greg Knaddison wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello Everett,<br><br>Are you using Drupal 6 or 7?<br><br>I think for Drupal 6 the token you want is just called [book]. You can<br>find more information on writing tokens for Drupal 6 in a file called<br>API.txt which is inside the token.module folder.<br><br>Regards,<br>Greg<br><br>--<br>Greg Knaddison | 720-310-5623 | <a href="http://growingventuresolutions.com">http://growingventuresolutions.com</a><br>Mastering Drupal | <a href="http://www.masteringdrupal.com">http://www.masteringdrupal.com</a><br><br><br><br><br>On Sun, Sep 19, 2010 at 3:48 AM, E.J. Zufelt <<a href="mailto:lists@zufelt.ca">lists@zufelt.ca</a>> wrote:<br><blockquote type="cite">Good morning,<br></blockquote><blockquote type="cite">I have pathauto setup for book as:<br></blockquote><blockquote type="cite">book/[node:book]<br></blockquote><blockquote type="cite">Ideally I'd like to be able to set :<br></blockquote><blockquote type="cite">books/[book:title]/[node:book]<br></blockquote><blockquote type="cite">Where book:title is the title of the book's root node, and node:book is the<br></blockquote><blockquote type="cite">title of the current book page (node). I checked and there don't appear to<br></blockquote><blockquote type="cite">be modules to provide me with additional tokens for the book module, and I<br></blockquote><blockquote type="cite">didn't find what I was looking for on the pathauto configuration page.<br></blockquote><blockquote type="cite">If this is a case where I am missing a simple feature or module I'd love to<br></blockquote><blockquote type="cite">know. I'd also be willing to write a book token module with more tokens if<br></blockquote><blockquote type="cite">someone would point me to some type of resource to get started.<br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Everett Zufelt<br></blockquote><blockquote type="cite"><a href="http://zufelt.ca">http://zufelt.ca</a><br></blockquote><blockquote type="cite">Follow me on Twitter<br></blockquote><blockquote type="cite"><a href="http://twitter.com/ezufelt">http://twitter.com/ezufelt</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">View my LinkedIn Profile<br></blockquote><blockquote type="cite"><a href="http://www.linkedin.com/in/ezufelt">http://www.linkedin.com/in/ezufelt</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></div></body></html>