I define a menu in drupal7 that look something like:
school
--people
----teachers
----pupils
我创造:
人们的内容类型。
具有上述标题的菜单。
When I add person to people’s content, I choose if he belong to 'teachers' or 'pupils' in the menu.
Now I need that pressing on the menu will give me a list of all that kind of people. For example, pressing on ‘school->people->teachers’ will give me the list of all the teachers, one line for each teacher.
So I thing to build a view that get the menu/sub menu as parameter and give me the appropriate output.
But I don’t know how:
Send to a view the menu / sub menu as parameters. (How to send parameters to a view)
How to filter the view by this parameter and create the specific page.