Programmes and Courses Catalogue

Events happening in the community are now at Drupal community events on www.drupal.org.
akmalfikri's picture

I want to create a programmes and courses catalogue. To achieve this I am thinking these steps :

  1. Create a content type which contains the programme's details and named it Programme, eg. Bachelor of Engineering.
  2. Create another content type which refer the programme as a parent and named it Course, eg. Electronics Lab.
  3. Add another reference where the course have dependencies with another course, eg. Electronics Methodologies (a dependency of Electronics Lab)

Is there any module for this or any other way?

Comments

Try Organic Groups

barnettech's picture

Try Organic Groups. Each group can be a department. Then figure out how to do sub-groups. I was thinking of just making departments have links to each class which is essentially it's own group, but each class group only has links from the parent department group.

some initial thoughts

idcm's picture

The book module (part of core) and node hierarchy (http://drupal.org/project/nodehierarchy) module create parent-child and sibling relationships between nodes. As for dependencies, maybe the node reference field will do the job.

of course your solution is going to be influenced by the version of Drupal you want to use and your willingness to wait for a module to be ready. node hierarchy isn't D7 ready yet. Node reference didn't get pulled into D7 with CCK so you will need http://drupal.org/project/references

i hope this gives you some options

take a look at the drupal commons distribution

barnettech's picture

take a look at the drupal commons distribution. I think you'll find it's a great starting point.

Although Commons uses organic

idcm's picture

Although Commons uses organic groups and is nicely configured, its interface and features are geared towards community interactions and collaborative work.

If this requirement is for a university setting (or the like), sequencing is going to play a part in organizing the parents and the children. OG nodes are not hierarchical by nature. Also, unless there is a need for access management, the added layer of access management might be a distraction.

Don't get me wrong. Commons is great and OG is one of my favorite modules. I am just not sure about in this scenario.

Node Reference

adecampillo's picture

I think that you can try Node Reference.
I recommend you this tutorial http://mustardseedmedia.com/podcast/episode37 .
;)

A. Campillo

Yeah sounds to me like you

btopro's picture

Yeah sounds to me like you want a quasi relational database created via Views / CCK Node Reference. I'd build in D6 as Views and CCK / node reference are all stable and D7 you'll still have to wait a bit. You'll be able to upgrade in a few months if you really want to but that'll get you off the ground quickly.

Finally I got this working. I

akmalfikri's picture

Finally I got this working. I use CCK and Views for this thing to work and fortunately the site is using Drupal6. The steps are :

  1. Create a content type for Programmes. I added a new field (courses) and the value is the node reference from the course content type and I put unlimited values.
  2. Create a content type for Courses. I added a new field (course dependency) and the value is the node reference from the course content type (which supposedly to be the parent)

So the user must create core courses first before creating other smaller courses and programmes.

Some questions though :

  1. Can I use CCK to do node reference but in the widget (autocomplete input) it shows a field in the course (let's say the course code)? As short if I want to search a course it shows in the autocomplete list - [Course code] - [Course Title].
  2. How can I create a customize search for Programmes and Courses only, based on the content types?

Views is your friend

idcm's picture

Views is your friend again.

  1. create a view called search (or whatever)
  2. When you filter content in views, you have the option to expose the filter. That means the value of the filter is provided by the visitor versus being preset with typical filter process. Create filters you want them to access (e.g., Content: name of field)
  3. Create a page display. The filters will appear at the top of the page. Use whatever layout strategy you want for search results
  4. If you want the filter to appear in a block but the display as a page, use the "Expose form in block" setting in views. Enable the block to appear where you want. when used, the person will be taken to the page display. make sure the display settings for the block allow the block to appear with the page display.

CCK & Views

cbice's picture

We did something similar (not exactly the same) at U of Maryland for the Dept of English.
http://english.umd.edu/academics/courses

We created a content type for a course schedule and connected them to a faculty profile and externally to the University's course scheduling system (Testudo).

Carl Bice

operations director
........................................

LMD

Brand Architects | Innovative Creative
grow
........................................
301.498.6656 ext 234
516.318.9245 (cell)
301.953.0321 fax

[[

How did you import the data

pdrake's picture

How did you import the data into the UMD English course listing? Was this manually entered or did you somehow import it directly from your course scheduling system?

We worked on a similar

pixelite's picture

We worked on a similar project for McGill University's online course calendar. Here's an example of a program page, with expanding blocks that show the courses offered in that program: http://www.mcgill.ca/study/2010-2011/faculties/music/undergraduate/progr....

The node relationships were a bit tricky since there are usually sets of courses that students have to choose between. We used a content type for course, program, and 'course set'. Each program includes node references to a list of course sets and each course set includes node references to a list of courses.

In McGill's case, the content was imported front their internal Banner system.

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: