20 Posts
Olek
10 years ago
4
Topic
Hello,

I'm trying to do a list that seems quite easy, but... I have no idea how to do it. I have a registration form with few fields and one of them is a dropdown including predefined city names. What I'm trying to achieve is a list that looks like this:

City 1:
- member,
- member
...
City 2:
- member
- member
...
To put it straight: I want SEBLOD to list on one page all cities from dropdown, with sub-lists all members that live in these cities - preferably in alphabetical order. How to construct such a list under List & Search Manager?
Get a VIP membership
10 years ago
2
Level 1
Hi Olek,

Thank you for your post.

would you like to have a "drop down" list city in the search form and the member names as the result of a search type?

Regards,
Mehdi.
20 Posts
Olek
10 years ago
1
Level 2
Hi Mehdi,

The form with the drop down list will be filled in admin area only. All I wanted was to list all the entries on one page in front end the way described above. For now I managed to place the dropdown in the front page and when user chooses one city, the table shows entries only from that city. All the entries together are shown after choosing 'choose the city' option in the dropdown. It's not quite what I wanted to achieve, but it does the job.

But I have another question. Let's say I have a table in the front end with records (template seb_table), but I want the records to be dynamically enumerated in the first column, like:

1 Record
2 Record
...
n Record

What type of field could enumerate the records in the first column? Is there extra any programming needed?
10 years ago
0
Level 3
Ok Olek,

If a member is a user, you should define a search type.
In this search type, you should have city field in the search form view; You should add a "user name" field in the list view of this search type.

Regards,
Mehdi.
20 Posts
Olek
10 years ago
0
Level 1
Thank you, Mehdi, I did it pretty much the way you described it.

Regarding autonumbering the records in the first column of my list type - is there any easy way to do it?
Get a VIP membership