Update 1.7 Vs. Delimiter

12 years 6 months ago #179856 by erpicio

Please Log in to join the conversation.

12 years 6 months ago - 12 years 6 months ago #179992 by erpicio
Replied by erpicio on topic Re: Update 1.7 Vs. Delimiter
Why updating always screws stuff up?
The following is not working anymore!

1) I created 3 fields:
- A primaryemailaddress field named email (where users insert their email; this field is not shown on their profile, but only in the user registration form)

- A radio field named cb_showemail (where the users decide whether to show their email with Yes or No; this field is not shown on their profile, but only in the user registration form)

- A delimiter field named as you like (this is the field that must be shown on users' profile)

2) In the wysiwyg text area inside the delimiter settings, i activated the code visualization and wrote the following code:

[cb:if cb_showemail="Yes"]<a href="mailto:[email]">[email]</a>[/cb:if]

[cb:if cb_showemail="No"]<a href="index.php?option=com_comprofiler&amp;task=emailUser&amp;uid=[user_id]">Send E-mail</a>[/cb:if]


3) In CB General Config -> General tab, from the Email management dropdown, you have to set "Show only email" in order to make all the stuff working.

All the above should show the email address+mailto link for the users that clicked on Yes from the radio button in registration form, and will show a "Send E-mail" link to CB e-mail composition form for those who selected No from the radio button.

But now the email field result is just not being shown!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.179 seconds

Facebook Twitter LinkedIn