[development] Human readable taxonomy URLs

Dries Buytaert dries.buytaert at gmail.com
Mon May 22 05:44:26 UTC 2006


On 21 May 2006, at 16:09, Bèr Kessels wrote:
> That said, I proposed a concept of "mappings" a few times. I know  
> that at that
> time Karoly liked the concept.
>
> <code>
> hook_mapping() {
>   $mappings[] = array(
>     '#map' => '%screwdriver/details/%foo',
>     '#variables' => array(
>       '%foo' => 'bar',
>       '%screwdriver' => toolbox(),
>     )
>   )
> }
> <code>

I looked at the pathauto module and it is way too complex, and still  
too restricting at the same time.  The idea of having mappings is  
interesting, but it's just an idea at this point.  It's not clear how  
this can be implemented efficiently, or how it can co-exist with the  
current URL aliasing system.  Certainly worth exploring though.

All I want is to make it easier to create and edit the URL aliases  
for taxonomy terms (tags).  I don't mind to think of a name myself,  
but I do mind the fact that it is such a pain to create the alias.   
If you add 3 new tags, it will take you 24 clicks or something.

On the node submission form it is really easy to create aliases and I  
use it all the time.  When creating new nodes, I haven't missed the  
pathauto module one second.

On 21 May 2006, at 11:55, Gerhard Killesreiter wrote:
> You could look at pathauto module and see if it already provides  
> automatic aliases for taxo terms. If it does not it should be  
> fairly easy to add. I don't think that alias generation should be  
> tied directly into taxonomy.module.

I think it could potentially benefit from better URL alias  
integration.  Like, on the 'list terms' page (administration  
section), it would be very convenient if you could add/edit/maintain  
your term's URL aliases in batch mode.  It sounds like a much more  
interesting feature than say, the synonym terms support or the  
related terms support.

--
Dries Buytaert  ::  http://www.buytaert.net/



More information about the development mailing list