In pathauto there is currently the ability to use [book] (for the title of the top level book) and [bookpath] for the entire set of parent titles of a node.
A replacement for the book's outlining feature should ideally implement the hook_pathauto so that we can provide an [outline] and [outlinepath] patterns that function similarly to the original ones.
We probably don't need to worry about this now and I'll be happy to help working on this feature as it gets close (hence I assign myself) but I wanted to get an issue into the queue while I'm thinking about it so it isn't a "whoops" down the road.
The outline module is a great idea - I look forward to seeing it!
Comment | File | Size | Author |
---|---|---|---|
#6 | pathauto.diff | 1.85 KB | smoothify |
Comments
Comment #1
beginner CreditAttribution: beginner commentedThanks for the report. As you know, we are not there, yet. The basic functions of the module don't work yet.
Happy new year!
Comment #2
beginner CreditAttribution: beginner commentedThe module has a stable release already.
There is no hurry on my side, but if you care providing a patch now, I will review it.
Comment #3
gregglesWell...I'm in the middle of porting pathauto to use the token module. So...I'm not going to work on this until I get done with that and at that point I think the smart thing will be to use the token hooks instead of the pathauto hooks (since the pathauto hooks will no longer be used).
Anyway, it's super simple, so I can get this in the next week or two.
Comment #4
ray007 CreditAttribution: ray007 commentedsubscribing
Comment #5
gregglesJust wanted to update this to say obviously week or two are gone, so anybody else who wants to work on it please do.
Comment #6
smoothify CreditAttribution: smoothify commentedHere is a patch for the pathauto.node.inc file (patched using the latest v5 pathauto release)
Its very simple really, i just duplicated all the book related code and modified it to work with outline.
Hope its of use to someone
Ben
Comment #7
gregglesThis should really be implemented in the Outline module - not the pathauto module.
Comment #8
PRFB CreditAttribution: PRFB commentedI use PathAuto and am about to start using Outline heavily. This feature would be really great to have....
-Patricia
Comment #9
beginner CreditAttribution: beginner commentedA patch is welcome.
Comment #10
gregglesComment #11
captaindav CreditAttribution: captaindav commented