humhub-contrib / popover-vcard

0 stars 4 forks source link

Get value of key from Select/List profile fields #6

Open paviro opened 4 years ago

paviro commented 4 years ago

I am sorry if I am just being stupid but is there any way to access the value of a key in the vcard? My users have the possibility to select the pronouns they would like to be addressed with.

For that I added a select field with the following options:

she=>she/her/hers
he=>he/him/his
they=>they/them/theirs
ey=>ey/em/eirs
per=>per/per/pers
fae=>fae/faer/faers
ve=>ve/ver/vis
sie=>sie/sir/hirs
ve=>ve/ver/vis
xe=>xe/xem/xyrs
zie=>zie/zim/zirs

When I refer to profile.pronouns in the vcard I only get the key for example she instead of she/her/hers.

luke- commented 4 years ago

I think, unfortunately, there is no possibility here yet.

paviro commented 4 years ago

Thanks good to know I wasn’t just blind! :)

UtmostCreator commented 3 years ago

Hello, @paviro!

Could you give us a bit more information on the enhancement you wish to see, please?

Here is a simple example of a popover-vcard: image

  1. What would you like to see here? (what kind of changes)?

My users can select the pronouns they would like to be addressed with.

  1. Please let me know where can I set these options? 2.1 Is this format is recommended (described by HumHub Community) or you wish to see it like this?

she=>she/her/hers he=>he/him/his they=>they/them/theirs

  1. Where is it configurable? Where would you like to edit it, and who can edit it?

Please give me some extra info to better understand what would you like to see as a result. Thank you!