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.

Comments

AlexisWilke’s picture

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

AlexisWilke’s picture

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.

mark_r’s picture

subscribe

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

AlexisWilke’s picture

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

AlexisWilke’s picture

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

asak’s picture

Subscribing.

Much desired ;)

paxku’s picture

I was just looking on how to do this.
right now, this is the only feature I miss in this great module.

subscribing

jay-dee-ess’s picture

Subscribing.

kims’s picture

Subscribing.

generix’s picture

subscribing

circulardesign’s picture

Exactly what I am looking for too!
Subscribing

leahmd’s picture

Yes please! subscribing.

chougrani’s picture

Ho please, Please , Please

hanskuiters’s picture

subscribing

AntiNSA’s picture

subscribing

AntiNSA’s picture

any updates on this?