taxonomy_vtn versus pathauto

cnh - April 28, 2009 - 06:41
Project:Taxonomy VTN
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Anyone have idea how can I do the pathauto do generate alias for taxonomy VTN?

I have 1000+ vocabulary + terms and I want all in nice url.

#1

AlexisWilke - April 28, 2009 - 07:47

There is way to do that with the taxonomy_vtn for the vocabularies & terms (i.e. recognizing the name instead of the number, but it would not work in all cases since the number 3 could be a term or an identifier...)

Now, if you use the default taxonomy behavior to list the nodes, that would require changes to the taxonomy module (or a module that is capable of diverting and fixing the path under the hood.)

I will look into that at some point.

Thank you.
Alexis

#2

AlexisWilke - June 16, 2009 - 09:24

Okay...

I have a /name/ sub-path now that allows you to access the vocabularies and terms by name as in:

http://linux.m2osw.com/taxonomy_vtn/name/Site%20Index/Linux

http://linux.m2osw.com/taxonomy_vtn/name/Site%20Index/SQL

Let me know what you think... There is a space in the vocabulary name that appears as %20 for now...

Thank you.
Alexis

P.S. I intend to add a flag in the global taxonomy setup to ask whether you want to use the nice URLs. Then they would be used by default. At this time, the numbers are used.

#3

mark_r - July 5, 2009 - 00:57

subscribe

would be nice to have this as a group in pathauto like "Taxonomy VTN path settings"

#4

AlexisWilke - July 6, 2009 - 03:29

This feature would not require pathauto since it is 100% specific to Taxonomy VTN. Yet, the i18n to ASCII table could be used from there instead of duplicated over and over again... 8-}

Other than special handling of characters, is there something that does not yet work the way it should?

Thank you.
Alexis

#5

AlexisWilke - July 7, 2009 - 01:03
Version:6.x-1.2» 6.x-1.x-dev

Okay! Got it! Took me a little time, didn't it?!

So... You add a new term, you get a new URL:

/taxonomy_vtn/name/my%20vocabulary/my%20new%20tag

And you want pathauto to create something like:

/dictionary/my-new-tag

I think that's a feature for pathauto indeed.

I'll look into that.

Thank you.
Alexis

#6

asak - August 8, 2009 - 23:13

Subscribing.

Much desired ;)

 
 

Drupal is a registered trademark of Dries Buytaert.