When creating a context (in this case by taxonomy term name), I'd like to have the same functionality as with Views 2, which allows one to convert hyphens to spaces. Thus you can have http://example.com/mypanel/blue-sky rather than "http://example.com/mypanel/blue sky" or "http://example.com/mypanel/blue+sky".

However, I do not see an option for this. Am I being blind? Or would this be a feature request?

Comments

merlinofchaos’s picture

Category: support » feature

This would probably need a custom argument handler or something similar.

aaron’s picture

Assigned: Unassigned » aaron

well, this is becoming a bit of a blocker for my particular use case, so i'm going to dig into this now.

aaron’s picture

StatusFileSize
new2.7 KB

here's the form stuff -- still trying to figure out what to do with $conf once we collect it...

aaron’s picture

Status: Active » Needs work
aaron’s picture

StatusFileSize
new3.17 KB

this one should work, but it doesn't. what am i doing wrong?

aaron’s picture

Status: Needs work » Needs review
StatusFileSize
new3.23 KB

ok, this should work as advertised now...

petrelharp’s picture

Awesome. It works for me. Thanks a bunch.

merlinofchaos’s picture

Status: Needs review » Needs work

Ok, here's what I want for this to go in:

Taxonomy term name should be split out from Taxonomy term ID argument. However, it needs to be done in such a way that older configurations will still work; so the original argument should still be able to accept a term ID. Possibly the easiest way to do that is to introduce tid.inc and term_name.inc and deprecate term.inc entirely but leave it so that it can still be used. It'd be even better if we introduce a way to remove it from the UI but still have it in the background That can come later.

Then, taxonomy term name can have an option to translate dashes to spaces.

And the new user name argument should have the same support.

summit’s picture

Subscribing, greetings, Martijn

dalehgeist’s picture

Subscribing - I need this for user name.

japerry’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)