Classification in one page.

6 posts by 3 authors in: Forums > CMS Builder
Last Post: December 16, 2011   (RSS)

By jacgo - December 15, 2011

I have 8 person in our organization.
Every person have different job's level.

Our site : http://ctrbs.org/staffList.php
1 Central Director
1 Director
4 Assistant Professor
2 Doctor of Medicine

I have to show it in each block and one page.

I want to be classified. want to look like below:

Central Director
---------------------------------------------------------------
- Mr. A

Director
---------------------------------------------------------------
- Mr. B

Assistant Professor
---------------------------------------------------------------
- Mr. C
- Mr. D
- Mr. E
- Mr. F

Doctor of Medicine
---------------------------------------------------------------
- Mr. G
- Mr. H

Central Director
Doctor of Medicine
---------------------------------------------------------------
- Mr. I

(Above all in one same page.)

I tried to use "Mutil-recore" & "Category Menu" to do it.

Seems can not do it.

Is there any way can do like this?



Thanks!



Jacgo

Re: [jacgo] Classification in one page.

Jacgo,

How are you selecting the classification for each person?

Jerry Kornnbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [jacgo] Classification in one page.

By Jason - December 16, 2011

Hi,

A good place to start would be to create a list field called "job_level" where you can select a job level for each person (Central Director, director, etc). That way you have a way of telling which record belongs in each category.

Once you've done that, attach a copy of your code and I can give you an example of how to sort them into various headers.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Classification in one page.

By jacgo - December 16, 2011

Hi Jason

Do you mean use "Category Menu" to create "job_level"?[/#000000]

Is there any "Category Menu" tour guide? I am not really good with it.[/#000000]

Thanks![/#000000]

jacgo

[/#000000]

Re: [jacgo] Classification in one page.

By gkornbluth - December 16, 2011 - edited: December 16, 2011

One easy way to select the category for each person is to create a multi record section editor called Category, with only one text field called category. (make sure you delete the title and content field and any reference to them from all the field lists etc.)

Then, in the editor where you have the 8 people's records, create a multi record list field that get's it's list options from the "category" database. Use the the "num" field for the option and the "category" field for the label.

(You could just enter the categories in the options list, but then your client could not easily add another category )

In each of the people's records, check the categories that apply for each people record.

Then you can echo the values from that field in your viewer where you list the 8 people.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php