Track User and Display user data in Data Display
Permalink Browser Info Environment
Hi Justin,
You have been so prompt at responding, I figured an update on an older post may not have passed your eyes, so I am re-asking here.
In this post:http://www.concrete5.org/index.php?cID=121068&editmode=...
you wrote that I could track a user in your Advanced form, and then display user info in Data Display (as a potential work-around solution to what I need).
I was wondering if you would be willing to either guide me in how to do that, or point me in the direction I need to go. I could not figure out how to do that and also know that there are some functions in the add-ons that I could not fully understand and that maybe it relates to them.
Thanks so much,
David
You have been so prompt at responding, I figured an update on an older post may not have passed your eyes, so I am re-asking here.
In this post:http://www.concrete5.org/index.php?cID=121068&editmode=...
you wrote that I could track a user in your Advanced form, and then display user info in Data Display (as a potential work-around solution to what I need).
I was wondering if you would be willing to either guide me in how to do that, or point me in the direction I need to go. I could not figure out how to do that and also know that there are some functions in the add-ons that I could not fully understand and that maybe it relates to them.
Thanks so much,
David
Type: | Discussion |
---|---|
Status: | New |
Yes, I believe that sounds like what would do the trick for me. I am not sure what :Option to display various user attributes of the record owner within the list/detail templates" means exactly, but if that is to pull from the C5 user profile attributes, that sounds great.
Thank you Justin.
Thank you Justin.
Yes, that's exactly what that means. I'll let you know when the new version is posted.
Version 2.2.2 has been posted, and should have the features you're looking for. Make sure you also upgrade to the newest Advanced Forms as well (1.3.2).
Thank you Justin.
Hi Justin,
I have upgraded both advanced form and data display. I do see in the data display block that I can now specify for only user-created results to be displayed - great, thanks, perfect!
but I do not see how I can do the following:
-Option to display various user attributes of the record owner within the list/detail templates.
I looked in the data display list template and detail template and cannot see this anywhere. I figure I am missing it. Can you please direct me to how I can do this. Thanks.
I have upgraded both advanced form and data display. I do see in the data display block that I can now specify for only user-created results to be displayed - great, thanks, perfect!
but I do not see how I can do the following:
-Option to display various user attributes of the record owner within the list/detail templates.
I looked in the data display list template and detail template and cannot see this anywhere. I figure I am missing it. Can you please direct me to how I can do this. Thanks.
Yeah, I haven't documented this yet. Here's what you can do in the template to show record owner info:
<owner /> - Display the owner's username
<owner attribute="id" /> - Display the owner's user ID
<owner attribute="email" /> - Display the owner's email address
<owner attribute="my_attribute" /> - Display a custom user attribute (where "my_attribute" is the attribute handle)
<owner /> - Display the owner's username
<owner attribute="id" /> - Display the owner's user ID
<owner attribute="email" /> - Display the owner's email address
<owner attribute="my_attribute" /> - Display a custom user attribute (where "my_attribute" is the attribute handle)
That is great! I think that is a real bonus attribute to your plugin. Really expands possibilities. You should state this function up front. Thanks Justin.
Yeah I'm going to go through to documentation soon and add a bunch of info about new features that have been added but not yet documented.
Hi Justin. In Advanced Forms, will it at some point be possible to pre-populate a field with a value from the profile of the logged in user? It would be a really awesome feature.
Best, Jonas
Best, Jonas
ditto :)
Can you give me a specific example of what you mean? It currently does track the user, and you can then use that in the Data Display template to display user info.
I am embarrassed to say I miss-understood what Jonas asked for and what I needed you already implemented. I have a few outstanding additions I have been hoping would get added and thought this was one of them, (had to go back over my notes in more detail). My fault. Thanks for asking though. Hope all is well with you Justin.
Say you run a business to business service and many of the same customers are frequently placing orders. Each time they have to reenter payment-, delivery details etc. It would be easier on the customer and on the business managing those customers if those details were to be entered just once in the creation of a new user account and then pulled to e.g. a hidden field in Advanced Forms.
I realize this can be pulled in Data Display but for me it breaks the chain of processing an order when those details are not immediately part of a new entry.
I realize this can be pulled in Data Display but for me it breaks the chain of processing an order when those details are not immediately part of a new entry.
Given what Jonas shared here, this could potentially solve the need I mentioned in this post:http://www.concrete5.org/index.php?cID=160211&editmode=...
...that is, if I could auto populate a field in Advanced forms with the logged-in users name, then that field would be an entry in the database, and would be searchable and sortable as a field when those records are displayed with Data Display. Creating this function would be great. And I don't remember if the following is possible, but being able to make that field only readable and not writable as an option would add to this as a bonus.
Thanks,
...that is, if I could auto populate a field in Advanced forms with the logged-in users name, then that field would be an entry in the database, and would be searchable and sortable as a field when those records are displayed with Data Display. Creating this function would be great. And I don't remember if the following is possible, but being able to make that field only readable and not writable as an option would add to this as a bonus.
Thanks,
Hi Justin. Do you think it will be possible?
-Option to display only records owned by current user
-Option to display various user attributes of the record owner within the list/detail templates.
Will this help? If so I can probably get a new version posted today or tomorrow.