User Information

Permalink Browser Info Environment
Hello,

I was wondering if user information, groups, attributes and sets could be included in an update. Or if there is a way to build this myself, I would love some pointers.

Also, is a way to provide an option so that a user can select page attributes and show them in a block?

Thanks!

Type: Discussion
Status: In Progress
ericchaffey
View Replies:
theblockery replied on at Permalink Reply
theblockery
Hi Eric,
Are you thinking that a "field type" could be "choose a user from a list of all site users" and "choose a group from a list of all site groups"? That sounds like a good idea and I'll put it on my feature request list.

As for the page attributes... how exactly were you thinking these would work? If you have some use cases in mind that would probably help me understand the details.

Unfortunately this is not a straightforward addon to customize yourself, so I can't really offer guidance for doing this on your own.

-Jordan
ericchaffey replied on at Permalink Reply
ericchaffey
Hey Jordan,

You hit the nail on the head. Using the field type to choose a single user or group and, if possible, a way to select users with a specific attribute/set and show all users in groups and/or with specific attributes.

I actually meant a way to select and show user attributes and/or sets, but thinking about it now, I could see a use for selecting and showing page and file attributes as well. Some uses I see this for:

For users, I can show all custom business/profile attributes I create.
For pages, I would have a page list that shows attributes I created and selected that show locations, phone numbers for business listing pages. A page list could also show attributes I created for a portfolio to show website info, additional images, description, etc.
For files, pretty self explanatory I hope.

Quite a lot, I know. Hopefully I am not the only one that sees any use or benefit for this.

I don't have much cash, but don't mind kicking in a bit for some additional features.

Thanks!
theblockery replied on at Permalink Reply
theblockery
If what you're wanting to do is *display* attributes for a page, that can
be done already via the "Page" field type (see
http://theblockery.com/designer-content-pro/#api... , scroll down to the "Page
fields" section near the bottom... I'm working on better docs too :)

Same idea for Files. Users aren't in there now but if I add a "User" field
type then you'll be able to do that as well for those.

Note that the basic idea of DCP is that it's for manual entry of content by
the user. Things like "search for all pages of a certain type" or "list all
users with a certain attribute" are out of the scope of what DCP is
intended to do, so those kinds of things will probably not ever be
implemented. (Even if I wanted to implement things like that, C5 makes it
very difficult because when you use attribute fields they must be in the
context of a specific page or user or file... you can't just have a block
that uses an attribute as a "filter" and save the chosen filter value
[well, you can but it needs to be custom-coded for each attribute type so
it's a complex solution that is also "brittle" and doesn't work for new
attribute types that might be installed by other addons]).

Hope that explains things a little better. Thanks again for the feedback!

-Jordan

concrete5 Environment Information

C5.6

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.