Hello,

At the moment, I have a category "issue" with terms "issue 1", "issue 2", "issue 3".
I am using taxonomy_menu to show a meaningful navigation system. So, when you click on an article in issue 3, you are shown the articles in issue 3, plus HOME -> issue -> Issue 3

Now: when I click on "issues", I would like to show a list of issues (that is, a list of terms), rather than all of the articles contained in all of the issues.

Is this at all possible? I have no idea where to start with this one...

Thanks a lot!

Merc.

Comments

irishsuperfly’s picture

Don't know that this will help, but I was trying to do a similar list and ended up using the nice menus module instead. It's a mouse-over type menu, but it lists just the terms, not the nodes attached to them.

Good luck

mercmobily’s picture

Hi,

Well, what I did in the end is create a node type called "issue", with a "issue_id" associated to it.
The issue_id corresponds to a taxonomny term.
In the function node_issue_view, I put:

(Excuse my bad PHP code. I am actually a Ruby programmer, and don't really know PHP):

 $term=taxonomy_get_term_by_name($node->issue_code);
   $result=taxonomy_select_nodes( array($term[0]->tid) , 'or' , '0');

[...]
  

(I'd show you the rest of it, but I am getting a "Terminated request because of suspicious input data." error...)

The code is a little complicated, but it's understandable: it basically shows the issue, divided by section and ordered by difficulty (section and difficulty are taxonomy dictionaries for an issue).

It's a work in progress, but it works.

Merc.