Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Classification in one page.

 

 


jacgo
User

Dec 15, 2011, 6:46 PM

Post #1 of 6 (392 views)
Shortcut
Classification in one page. Can't Post

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


gkornbluth
Veteran

Dec 16, 2011, 3:56 AM

Post #2 of 6 (384 views)
Shortcut
Re: [jacgo] Classification in one page. [In reply to] Can't Post

Jacgo,

How are you selecting the classification for each person?

Jerry Kornnbluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com


jacgo
User

Dec 16, 2011, 6:29 AM

Post #3 of 6 (382 views)
Shortcut
Re: [gkornbluth] Classification in one page. [In reply to] Can't Post

Hi Jerry

There are two way I tried.
but I found there are no function can do it..

1) I supposed I can use separator on the filed on the section. but this is not fit the issue for the Field Type.
2) http://ctrbs.org/mambersList.php
I created Section "Category Menu" I though it can do the work.
but every Parent Category show one recode only. Not full recode list.

Not really understand "Category Menu" function.

Jacgo


Jason
Staff / Moderator


Dec 16, 2011, 8:50 AM

Post #4 of 6 (375 views)
Shortcut
Re: [jacgo] Classification in one page. [In reply to] Can't Post

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 - Programmer 
interactivetools.com

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


jacgo
User

Dec 16, 2011, 9:19 AM

Post #5 of 6 (372 views)
Shortcut
Re: [Jason] Classification in one page. [In reply to] Can't Post

Hi Jason

Do you mean use "Category Menu" to create "job_level"?

Is there any "Category Menu" tour guide? I am not really good with it.

Thanks!

jacgo




gkornbluth
Veteran

Dec 16, 2011, 10:53 AM

Post #6 of 6 (369 views)
Shortcut
Re: [jacgo] Classification in one page. [In reply to] Can't Post

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!
http://www.thecmsbcookbook.com

(This post was edited by gkornbluth on Dec 16, 2011, 11:02 AM)