[SOLVED] Could I do this with delimiters?

9 years 11 months ago #141092 by Johnnydement
[SOLVED] Could I do this with delimiters? was created by Johnnydement
Hello,

I like to use sex symbols in my site to avoid language debate, I'm connecting with facebook, that can only import text...

Would be possible to make a cb_gender text field that would link with facebook, but then appear, in a delimiter field with the symbols?

Also, would be possible to make the symbols in the update profile screen? I only link facebook in first import, and not everyone will do...

Thanks

Post edited by: krileon, at: 2010/09/03 20:21

Your feedback on the JED helps us improve Kunena. ;)

Please Log in to join the conversation.

9 years 11 months ago #141193 by krileon
Replied by krileon on topic Re:Could I do this with delimiters?
Yes, using a conditional substitution you can display an icon based off the gender fields value. You'd need to set the gender field to not be visible on profile of course if you don't want a double gender display. More information on substitutions can be found within Tutorials from my signature. Example as follows.

[code:1]
[cb:if cb_gender="male"]<img src=" www.example.com/images/male.gif " alt="Male" />[/cb:if]
[/code:1]


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.

Please Log in to join the conversation.

9 years 11 months ago #141222 by Johnnydement
Replied by Johnnydement on topic Re:Could I do this with delimiters?
Many Thx!

Post edited by: Johnnydement, at: 2010/09/03 13:02

Your feedback on the JED helps us improve Kunena. ;)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.408 seconds

Facebook Twitter LinkedIn