Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] How to solve this?

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 9 months ago #224908 by krileon
Replied by krileon on topic How to solve this?
CB doesn't allow HTML in any field except Text Area Editor fieldtypes and it will filter out tags for security, which you can whitelist within CB > Configuration > User Profile. I assume all you need is the code after "wid", which is all they should be supplying and you build the script URL in a delimiter field using that field as a substitution. Example delimiter field as follows.
Code:
<script type="text/javascript" src="app.getresponse.com/view_webform.js?wid=[cb_autoresponder]"></script>


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 or Create an account to join the conversation.

11 years 9 months ago #224981 by dalibor.strop
Replied by dalibor.strop on topic How to solve this?
thats great! But how can I hide the default code when autoresponder is used?

now I have this on my site:
<p>My name: #name<br />phone: <span>{cb:[cb_phone]}</span><br />skype: <span>{cb:[cb_skypeid]}</span></p>

So if I just add the code for autoresponder and dont enter any number thats fine, I will only see the contacts above. But When I enter the number of my autoresponder then I see booth.

Thank you for any help with that.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 9 months ago #224988 by krileon
Replied by krileon on topic How to solve this?
I'm not sure what the default code is, but you can use IF substitution statements. Looks like you're using CB Content Bot so an example would be as follows.

{cb:[cb:if cb_autoresponder=""]Default Code[/cb:if]}

You can find further substitution usage information in the below tutorial.

www.allmysocials.com/directory/tutorials/item/233-substitution-usage


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 or Create an account to join the conversation.

11 years 9 months ago - 11 years 9 months ago #224992 by dalibor.strop
Replied by dalibor.strop on topic How to solve this?
do I use this on in article?
because i can see that now on my page

[cb:if cb_autoresponder=""]
My name: xxxx
phone: {cb:+xxxxx
skype: xxxx

I have used this in my article:

{cb:[cb:if cb_autoresponder=""]My name: #name<br />phone: {cb:[cb_phone]}<br />skype: {cb:[cb_skypeid]}[/cb:if]}

It seams that it doesnt accept the cb fields inside cb if
Last edit: 11 years 9 months ago by dalibor.strop.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 9 months ago #224998 by krileon
Replied by krileon on topic How to solve this?
Yes, you can use it in an article if you're using CB Content Bot.

It seams that it doesnt accept the cb fields inside cb if

You only need to surround the content once with the {cb:} brackets. Try the below.

{cb:[cb:if cb_autoresponder=""]My name: #name<br />phone: [cb_phone]<br />skype: [cb_skypeid][/cb:if]}


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 or Create an account to join the conversation.

11 years 9 months ago #224999 by dalibor.strop
Replied by dalibor.strop on topic How to solve this?
WOW works perfect!
Thank you! :cheer:
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum