Greetings everyone!
I m relatively new to drupal. I m trying to build a site that will have to manage its content carefully and properly. I ve read the taxonomy documentation and the taxonomy_menu documentation, however I would like to ask if it is possible somehow to add a vocabulary name as a path to a primary link?

For example, my site contains books for different majors for a college eg. EN(English), CS(Computer Science), PH(Philosophy) etc etc...
Now I would like to have a primary link with name "All Books" and I would like to have all terms in there,
without using the "taxonomy/term/1+2+3", if EN=1, CS=2, PH=3.

And that is because if I add new terms on the Books vocabulary then I would need to go back to my primary links, find All Books and change its path again, adding ...+5+6+7... at the end of it!

I am trying to understand how this amazing platform works, but can you tell me if something like that is doable?

Cheers,
Mike

Comments

bwv’s picture

If I understand your question correctly, it sounds like you need to use the pathauto module (in D6 located at site building --> URL aliases --> automated aliases).

Anonymous’s picture

Hey there!
Thanks for the reply. I checked the URL aliases and its pretty cool. However I can't add a whole vocabulary... I have to put all its terms manually.
For instance I have this scheme:

Vocabulary-Books
***Term1=EN
***Term2=CS
***Term3=PH

In URL aliases I added an alias for the following path "taxonomy/term/1+2+3" and i named it "books", then I went to Primary Links to my "All Books" item and changed its path to "books". Worked perfectly!

It would be awesome though to somehow name the path "taxonomy/vocabulary/1" to "books", therefore every time I add a new term I don't have to change the path again, adding its number.

Am I making any sense? Does drupal has that capability?

bwv’s picture

Not sure... try creating a URL alias and see if that works (admin/build/path/add).

Anonymous’s picture

Bummer!
The path 'taxonomy/vocabulary/1' is either invalid or you do not have access to it.
This is the error message that I get..
Anyways I ll do it the other way.
I would like to ask something else. When I open my Primary Link "All Books", at the very beginning of the centre column it has the terms name with a "+" between them e.g. EN+CS+PH.
Is there a way that I can remove that? It looks like a title but I don't want it there...

bwv’s picture

Anonymous’s picture

YES! It worked!
taxonomy_router solved my issue!!!
Thanks :-)