I came to love working with delimiter fields in connection with HTML as an easy means to format database content.
But now I am a bit stumped. I can´t get a simple image to show up in the profile. Here I thought that delimiter fields worked for images in the same way that they do for other data. But if displayed it only shows the path to the image. I can´t get it to work with "img src" or other html tags. I did quite some searching for the last hour, but came up with nothing?! My search fu may not be up to par, but I think I did quite some searching. So at this point I have to quit and ask for help :blush:
My guess is you're using [FIELD_NAME] substitutions. Such substitutions are raw data. They are formatted. If you want to match a fields actual profile display value you should use the below usage.
[cb:userfield field="FIELD_NAME" /]
Please see the below tutorial for further substitution usage information.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
I do wonder why I can´t use the raw output of the field and put it into a container, i.e. code 1:
[ img ] [cb:userdata field="avatar" /] [ /img]
:code 1
Yes, you can use the raw output like that too. Example as follows.
Code:
<img src="[avatar]" />
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.