Hello everybody!
I've got a problem trying to do something with views, I'll try to explain clearly:
->There are two content types: 'teacher' and 'subject'
->On 'subject' there's a node reference field in wich i can choose wich teacher is responsable for the subject
->On a teacher's page I want to list all the subjects that were assinged to him, so i am trying to do this with views.
Right, there's bo big deal if i create a view for each teacher, but since there are lots of teachers that wouldn't be a nice solution...
So I dont know how to do this... a view that shows all the subjects of the teacher in the actual page (I am calling the view on the html body of the teacher's page)
Do you understand????? Any ideas?????
Thx guys!!!
Comments
dynamic views
you have to create dynamic views using page path and argument section of views.
Eg path = teacher/%/list
'%' = node id of teacher
also refer http://views-help.doc.logrus.com/
http://views-help.doc.logrus.com/help/views/argument
Pragna J Bhalsod
Yes, i've read some things
Yes, i've read some things about it, but what i cant get is: How can I tell the filter (or something) that the content of the node reference (on subjects page) must be equals the argument???
Oh i got it!
I had to put the node reference as an argument, and I was trying to use it as a filter!! HAHA tha was so obvious now that I did it!
Thanks a loooot man!
filter in views
you have to filter subject content type in views ........ if you have any problem in views then I tell me..... I will help you.
Pragna J Bhalsod