hi everyone

I'm developing a drupal site for a scientific journal, we are publishing all the indexes of the past issues. This is done using taxonomies.
An example of what we're doing is http://www.semioticamente.it/versus/?q=taxonomy/term/376 where:
"2003 - 94-95-96" is a taxonomy term - the issue of the journal
"Attendere in rete" is a node - an essay published in that issue
"Barbieri, Daniele" is a taxonomy sub-term - the author of "Attendere in rete" which is published in "2003 - 94-95-96"

I'm trying a difficult and unusual thing: I want to order the nodes in http://www.semioticamente.it/versus/?q=taxonomy/term/376 (the "2003 - 94-95-96" taxonomy term) by their sub-term alphabetically (like "Barbieri, Daniele", then "Barone, Camilla", then "Bettettini, Gianfranco").

---

I'll explain also in another way because I'm not sure it is clear.
Take a look at http://www.semioticamente.it/versus/?q=taxonomy/term/376

Right now it is like this:

Attendere in rete
2003 - 94-95-96 (this field has been hidden by css) | Barbieri, Daniele

Azioni e tipologie di siti
2003 - 94-95-96 (this field has been hidden by css) | Volli, Ugo

Forme del movimento in ambienti virtuali tridimensionali
2003 - 94-95-96 (this field has been hidden by css) | Barone, Camilla

I would like to have it this way:
Attendere in rete
2003 - 94-95-96 (this field has been hidden by css) | Barbieri, Daniele

Forme del movimento in ambienti virtuali tridimensionali
2003 - 94-95-96 (this field has been hidden by css) | Barone, Camilla

Azioni e tipologie di siti
2003 - 94-95-96 (this field has been hidden by css) | Volli, Ugo

---

I think that this is way too difficult for me do do without help... please :-)

Comments

cantastorie’s picture

Unfortunately I'm not expert enough in php, but I think that a solution to your problem could be useful for me also.
Anybody out there with at least some hints to show us the way?

gabro1980’s picture

no ideas anyone?

merlinofchaos’s picture

Doesn't sort by "Taxonomy: Term Name" do what you want?

-- Merlin

[Point the finger: Assign Blame!]
[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]

strooltz’s picture

is there a template file or additional module i need to install to make this work?

baxterjones’s picture

hi,
i have a very similar problem although i think yours is a little easier to solve than mine. so for now i'll explain a way to sort the nodes by sub-term, date and author/researcher. i think it's key to also remember that you might want to sort by author first then sort that list again according to date. (this will theoretically not effect the initial sort order of author)

excuse ahead of time if some of this is not clear,
create a taxonomy vocabulary, say "research", and that name would relate to the project you want to place the terms or sub-terms under.
create terms with sensible title, which won't conflict (i.e. johnny, johny) these could refer to the author/researcher.
the dates i would use the cck module and create a field where the date is inserted in a specific format which you prefer i.e. 2003 - 94-95-96, there should be one very similar in the dropdown. (note you will have to enable the date module aswell)

then all you do now is create a view which will sort it the way you prefer, say you want the author to be together then that would be the first field you select under "sort criteria", and work from there, second would be the node: title (that's if the essay title is entered there). remember to create a menu item and a page to display your results.

i know it's not exactly how you created it with sub-terms but i would think that's a lot harder than i just explained.

hope this solves your problem.