This is actually two quetions.

First: How do I use Taxonomy to se i.e. the articles in the Layout section?
Second: How can I make the secondary menu (or any meny) to change acording to where in the site I am?

Backgroud:

Finnally after 5 days of trial and error, but moslty error, I understand how the taxonomy works! Yay!

So now I have a Vocab. called Section, with the terms foto, layout and design. These terms are the main sections of the site. I've also put up links to these sections with the path taxonomy/term/x in the primary menu. So when i click on i.e. Layout I get to all the content related to layout.

Now to what I need some help with. When I click on Layout I also want the secondary manu to change into showing the diferent types of content I have defined in the vocabulary Type within the Layout section, i.e. Articles, Images, Portfolio. In other words I want to have a link to the content where both the section Layout and the type Article are true, so when i click on it i get to the articles in the Layout section.

Comments

Metusela’s picture

I found out how to do it!

Using the path: taxonomy/term/x,y I was able to combine the therm for section Layout (x) and term for type Article (y). Then i got all the articles in the Layout-section.

But I still don't know how to make a "dynamic" menu. To clarify a bit:

Now the menu looks like this:

  • Layout
    • Articles
    • Images
  • Photo
  • Design

But i want the menu to be dynamic in the sense that I dont have to update the acctual menu when a new type of content is added to the Layout-section. For example I start to wright about layout projects and the menu changes to this:

  • Layout
    • Articles
    • Images
    • Projects
  • Photo
  • Design

An even better way would be to work with the primary and secondary menus. Then there would be links to the sections in the primary menu, whitch isn't hard to do. And the dynamic menu as a secondary menu. In addition to being dynamic at the second level, I want the secondary menu to correspond to the section (in the primary menu) which is active. So if the Layout section is active the secondary menu shows the sub sections (types) in the secondary menu. But when I move to the design section the types might be diferent and then I want this to be reflected in the secondary menu.