The default paths for playlists with pathauto end up looking something like this;
http://example.com/stationplaylist/show-name-playlist-2008-05-26
In other words, you've really only got the node title to play with. I'd prefer something like this:
http://example.com/playlist/show-name/2008/05/26
This patch provides tokens to allow this possibility. I'm not quite sure I've implemented it in the best way, but it Works For Me©.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | station_playlist_262917.patch | 2.48 KB | drewish |
| station_playlist-5.x-1.5_tokens_0.patch | 2.09 KB | HorsePunchKid |
Comments
Comment #1
drewish commentedlooks good to me. i made a few changes, getting the comments to match the existing format. i also changed the token names to be station-playlist since it seemed like a better namespacing so we don't conflict with a playlist module.
Comment #2
HorsePunchKid commentedSounds good; still works fine with 5.x-1.5 after updating my pathauto settings.
Comment #3
drewish commentedgreat committed to HEAD and DRUPAL-5.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.