Hello,
we would like to display a QR code using a field with a dynamically created QR code (image), it is created from a specific working web address. We therefore created the following HTML code:
<a href="xxxxx.com/data=xxxxx/directory/el/component/comprofiler/userprofile/[cb:userdata field="YOUR_PROFILE_URL_DESC"]"><img src="xxxxx.com/data=xxxxx/directory/el/component/comprofiler/userprofile/[cb:userdata field="YOUR_PROFILE_URL_DESC" user="#me"]" style="width:50px;height:50px;"></a>
Trying the above code using a text field type and having the code placed in the Parameter --> Layout --> Profile Value Layout, the desired outcome is not achieved, i.e. the image is displayed but the address includes the whole string/text as is, without replacing the YOUR_PROFILE_URL_DESC with the desired value.
Note: The YOUR_PROFILE_URL_DESC field is actually the username of the user profile being displayed.
We tried various substitution combinations, including [cb:userfield field="YOUR_PROFILE_URL_DESC" user="username" /]
Thank you,
Petros