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©.

Comments

drewish’s picture

Version: 5.x-1.5 » 5.x-2.x-dev
StatusFileSize
new2.48 KB

looks 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.

HorsePunchKid’s picture

Sounds good; still works fine with 5.x-1.5 after updating my pathauto settings.

drewish’s picture

Status: Needs review » Fixed

great committed to HEAD and DRUPAL-5.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.