Classification in one page.
6 posts by 3 authors in: Forums > CMS Builder
Last Post: December 16, 2011 (RSS)
By jacgo - December 15, 2011
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.
How are you selecting the classification for each person?
Jerry Kornnbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Classification in one page.
By jacgo - December 16, 2011
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) [url "http://ctrbs.org/mambersList.php"][url "http://ctrbs.org/mambersList.phpI"]http://ctrbs.org/mambersList.php[/#0066cc][/url]
[/url]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
Re: [jacgo] Classification in one page.
By Jason - December 16, 2011
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
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
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
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php