Posted by dinhhung on January 1, 2009 at 8:32pm
I've got new problem need your helps to solve.
I want to create a group based system for my school. Because my school divided into 2 parts, so the groups will categorized like following:
School part >> Faculty >> Class (Group with educated year)
With OG, seems to be OK when implement groups. But seem there is no module for categorizing the groups like above, and allow user to browse the groups list by category.
Thanks for every helps!
Comments
You can use Taxonomy
You can use Taxonomy
Go to :
» Administer » Content management » Categories
then : Add Vocabulary
Vocabulary name: Group Categories
Choose or Select : Groups ( or whatever your Org groups is called ) , choose only this, nothing else
Hierarchy: Disabled
Select box - Required ( this ensures no one can create a Group unless that belongs to a Category)
Next : come to : "Add terms"
Here you add : Faculty, Non-faculty, Batches 80 to 90, x, y, z whatever you want
Thus whenever a Group is created by a member of your site it has to belong to a particular Category.
With Field managment modules you can also allow a group to have its logo/banner or have its group video on the group front page.
PS : You need to add the
PS : You need to add the Categories to Group views
Go to admin/build/views/og/edit
and in "Fields" there add : Taxonomy: Terms for Group Categories , as links
Thus when a visitor to your site sees the list of Groups she/he can see to which category the Group belongs, also clicking on the category takes the visitor to a page that lists all the Groups in that category.
I have this setup working fine in Drupal 5x - things should work the same way for 6x .
Though we are not from your school give a link to your site for us when done :)
Thanks minesota for quickly
Thanks minesota for quickly replying my question.
I tried with Taxonomy with no success. Maybe my question is not clear very much, so I make it more clear, so you can help me.
Assume my real data structure like below:
- School part 1.
+ Math faculty.
* Class A <- this is "Group" content-type
* Class B
* Class C
* etc...
+ Physic faculty.
* Class A
* Class B
* Class C
* etc...
+ Chemistry faculty.
* Class A
* Class B
* Class C
* etc...
+ Literature faculty.
* Class A
* Class B
* Class C
* etc...
+ abc faculty.
* Class A
* Class B
* Class C
* etc...
+ xyz faculty.
* Class A
* Class B
* Class C
* etc...
+ etc...
* Class A
* Class B
* Class C
* etc...
- School part 2.
+ Math faculty.
* Class A
* Class B
* Class C
* etc...
+ Physic faculty.
* Class A
* Class B
* Class C
* etc...
+ Chemistry faculty.
* Class A
* Class B
* Class C
* etc...
+ Literature faculty.
* Class A
* Class B
* Class C
* etc...
+ edf faculty.
* Class A
* Class B
* Class C
* etc...
+ tuv faculty.
* Class A
* Class B
* Class C
* etc...
+ etc...
* Class A
* Class B
* Class C
* etc...
So, can you give me a more clearly direction? Thank you very much.
PS: Surely, I will give you a website link whenever it running.
You need to choose multiselect.
You need to choose multiselect.
I have made a database dump - unzip and import it into a test datbase after making a test site.
You need to already have D 6.8 plus add to your modules folder : OG[6.x-1.1] and Views[6.x-2.2] if those are not laready there.
|
V
Change the database and other names in settings.php
|
V
Import the dump into your database
Log in with admin/pass
As admin you can add further faculties as per your list, and can also start some Groups.
Any member of your site can create further groups - when they create a group they need to choose
two things : school part and the faculty, and then create groups named Class A or XYZ or whatever.
Unable to send attachments here , so the database file is here : <a href="http://www.filefactory.com/dlf/f/a00cg3h/b/2/h/743704aada6a3f84a1e9fa4eebd30f4a7ca85108/e/743704aada6a3f84a1e9fa4eebd30f4a7ca85108/j/0/n/myschool_zip>myschool.zip : if that is not working go here and choose the basic service myschool.zip
You can see a screenshot of the admin taxonomy interface here - http://img116.imageshack.us/img116/6950/myschoolup7.gif