Confused by the title? I will try to explain :-)
I would like to do the following:
On my page there is a flexinode called «citation» containing bibliographic references.
These references are attached to different vocabularies: Author, Year, Topic, ...
I want to build some nodes containing bibliographic lists categorized by one term, filtered by another term.
Let's give an example.
The three Vocabs look like this:
Author
- Amanda Ann
- Bruno Boss
- ....
Topic
- Love (weight: 5)
- Food (weight: 0)
- Health (weight: 0)
Year
- 1999
- 2000
- 2001
- ....
I need a node containing all references
- written by Bruno Boss
- categorized by topic
- topics sorted by term weight
- references sorted descending by year.
The content of this node should look like this:
-----------------------------------------------------------
Author: Bruno Boss
Food
- Boss Bruno: (2001): Cooking in a Nutshell
- Boss Bruno: (2000): How to Cook 2, an advanced Guide
- Boss Bruno: (1999): How to Cook, a Guide for Beginners
Health
- Boss Bruno: (2001): Health for a Man
- Boss Bruno: (2001): Health for a Woman
Love
- Boss Bruno: (1999): Love is a good thing
-----------------------------------------------------------
By the way:
A reference node looks like this:
Title: Ann: A good Book
Citation: Ann Amanda (2001): A good Book
The field citation is a custom flexinode-field. I dont want to see the titles in the list, insted I want to see the citation-field. I think I can achive this by a) directly pulling the citation-field from Database b) showing the teaser and surpressing the title by CSS or flexinode-theme.
I understand I have to use a PHP-Snippet to achieve this, but I don't know how to code it by myself.
Drupal version is 4.6.3, database is MySQL.
Can anyone help?
Do you know alternative Methods of building such a citation database in drupal?
Thanks in advance!