Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Field with Substitutions viewing as raw code after upgrading Joomla and CB

8 years 3 months ago #283607 by PCAnalyzer
Hello,
I have a (Custom HTML) field which I'm using with Substitutions. After upgrading to Joomla 3 and CB 2, I see it as raw code, like if it's not being processed.
This is its code:
Code:
[cb:if user="#me" user_id="0"]Per vedere i contatti ([cb:if user="#displayed" cb_messenger!=""]Kik[/cb:if][cb:if user="#displayed" cb_skype!=""] Skype[/cb:if][cb:if user="#displayed" cb_icq!=""] Whatsapp[/cb:if][cb:if user="#displayed" cb_yahoomsn!=""] Yahoo MSN[/cb:if][cb:if user="#displayed" cb_gtalk!=""] Hangouts[/cb:if][cb:if user="#displayed" cb_aim!=""] AIM[/cb:if]) di [username] devi Registrarti o fare il Login.[/cb:if]
Any idea of the reason? Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283621 by krileon
Showing as raw string means it never got parsed as a substitution. Edit your field and hide the WYSIWYG editor using the view source button and see if it was encoded as some editors will do that, which will break the REGEXP that's parsing for substitutions.

Please also ensure everything installed is correctly up to date.


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.

8 years 3 months ago #283624 by PCAnalyzer
I set the editor to None in the global configuration, because I don't use it. Everything seems up to date.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283628 by krileon
Is that the entire string for the Custom HTML field? If not it's possible other parse of your string are breaking the substitution parsing REGEXP. The string provided above seams to be working fine in my tests. Does your Custom HTML field have prepare content enabled? If so try disabling it.


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.

8 years 3 months ago #283629 by PCAnalyzer
Yes, it is. Prepare content is already disabled.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283631 by krileon
Please PM backend super administrator login credentials and will take a look as I'm unable to confirm on a clean install.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum