Forum for discussing general topics related to Couch.
7 posts Page 1 of 1
I have a site built for a Club, and they want one of the pages to be a members roster. Each member has a photo, name, bio, department, sex, age, etc, etc, etc. Although this seems like a job for a repeatable, all the fields won't fit on one line for editing. I can display the fields nicely on a webpage, but I'd like a way to format/arrange the fields for simple, concise editing. (I thought about using inline editing on my formatted webpage, but it can't handle radio buttons, etc, and there's no way to add/delete rows.)

What's the best way to handle this situation?
Just to mention that repeatables can be very long with horizontal scroll:
<cms:repeatable name='var'>
<cms:editable type='image' name='var1' col_width='300' input_width='200' />
<cms:editable type='textarea' name='var2' col_width='600' input_width='500' />
</cms:repeatable>


Please, use clonable pages instead. Some day you want to find only users with certain parameter, like show all female users or show users with 30<age<50 etc. You will be able to create any filters easily with cms:pages, custom_field and a clonable template. Also, user login can be required some day (with extended users addon). Anyways, clonable pages is the best option.

With clonable pages you can go with anything suitable for the front-end.
Display data with sortable datatable. Create any types of databound forms to edit member details.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
So to do that, I assume I'd create a "page" in my site like members.php and just define it as "clonable" with the editable fields I'd want to use for the member listing? Then on the page that I actually wanted to list the members I would use the "masterpage" tag? I'll have to try that out!

WOW! It would be really great if I could just somehow use the built-in Couch USERS table instead of having to create a MEMBERS masterpage. Both will have pretty much the same people defined in them. Wonder if there's any way I could add fields to that user table then actually use that as a masterpage? It'll look odd to have both users and members to have to edit.
@wysocki, you are right. Please visit this tutorial. It works amazing and is designed right for your setup.
Introduction (start with 1. Extended Entities): viewtopic.php?f=5&t=8581
Tutorial and setup for extended users: http://www.couchcms.com/docs/extended-entities/post.htm
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Thanks, trendoman. What a rabbit hole I have found! This stuff gets REALLY deep and I get more impressed every day with Couch. So much that I actually just bought the paid version even though I really don't need it at this point. Looks like this brilliant blending of frontend / backend will do wonders for me to create a perfect database driven app/site for my client.

And thanks, KK!
@wysocki, Thank you very much for getting the commercial license :)
Helps a lot in supporting Couch.
I've just started to examine the inline/popup editing feature and find it very attractive. Now with this Extended Entities I'm seeing that I can incorporate all my fields in the user table onto a formatted page for editing. But which approach is best to simplify user editing?

My site is for a Club which has a bunch of members that will also be accessing the website. Some of the members are also on the board of directors. I plan to add a field like "board_position" and if there's something in it, that would indicate that they're on the board.

I have an "About Us" page that shows a list of the board members, followed by a separate list of all members (including the board), displaying both these lists from the new users table (filtering just board members for example). But my uncertainty is regarding the best way to provide a way for staff (a few selected members) to edit this user information.

I'm looking for a recommendation on how to best edit/add/delete, considering the users data is being displayed in multiple areas. Can inline/popup handle this? Or should I require using the admin interface for user editing? Or both?
7 posts Page 1 of 1