Sory about the Subject, it isnt clear at all but It's difficult to explain...Here I go: Imagine a Univeristy Web where articles are classified into Faculty>Career>Course (For example: Faculty of Engeneering>Mechanical Eng>Mathematics) Ok, then I would have a menu tab where it says: Search articles or something like that, this should go to a list with all the faculties, If you click a certain faculty it takes you to the list of all the careers and when you choose a career it shows you a list with all the courses...My problem is building the pages with the faculties, careers and courses. I could just use a content type with just text and using the wysiwyg editor I could list the Faculties as links to other pages...but that doesnt looks quite good...I wanted to hear suggestions, for example for the faculties to shos like little blocks with a photo, or anything you can suggest, to make it prettier, not complex, simple, but nice...
thanks for the help!
mateo
Comments
One way how to do is
One way how to do it is:
- Create 3 node types (Faculty, Career and Course) with needed CCK fields for each type.
- Create Taxonomy Vocabulary, check Career and Course types for that vocabulary.
- Use Node Auto Term [NAT] module (http://drupal.org/project/nat) and on page 'admin/settings/nat' set for types Faculty and Carrer previously created Vocabulary. Here you can also check 'Make NAT terms in album node views point to the associated node rather than the taxonomy page.'
- Use Views module (http://drupal.org/project/views) to create a view which will show all Carriers and one for Courses. Use argument 'NAT: Nid'.
- Use Views Attach module (http://drupal.org/project/views_attach). Attach previously created views to Faculty and Career type.
- Create some content. Create new Faculty node. Create new Career node, assign term (name of faculty). Create new Course node, assign term (name of Carrer).
Now you should be able to see Faculty node with attached view which will show all Carrers which are offered by current Faculty.
Another way how to do it
Another way how to do it and most probably more easier is:
- Use Node Reference module (part of CCK module) to create field for Career which will reference parent Faculty and field for Course which will reference Career.
- You will be able to assign Career to specific Faculty / Course to specific Career.
- With help of Views and Views Attach module you can attach View to Faculty node to show all Careers which are offered by Faculty, ...
Thanks first of all for the
Thanks first of all for the answers! I understant your suggestion but can you explain me for what the Views Attach is used and how it's used?
Views attach module can be
Views attach module can be used to attach view to node type. It is something like add new field to the node, but that field is View.
For example you can have node
For example you can have node type 'album' and and attach view 'gallery' which shows all photos under specific 'album'. So you will see one page album info with album's photos (associated by node reference or NAT term).