Skip to Content Skip to Menu

🎉 Black Friday Sale! Great savings on Professional and Developer Memberships! Get 25% off now with code BLACK-FRIDAY-2026!

Welcome Email Body

  • borja
  • borja
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
1 month 2 weeks ago #344629 by borja
Welcome Email Body was created by borja
I´ve got this message defined as my Welcome Email Body:


Welcome Email Body:

<div style="font-family: Calibri, Arial, sans-serif; color:#555555; max-width:1000px; margin:auto; border: 1px solid #eeeeee; padding: 20px; border-radius: 8px;">
    <!-- LOGO CORREGIDO Y PASADO A HTTPS -->
    <div style="text-align:center; margin-bottom: 20px;">
        <img src="logo.jpg" alt="Logo " style="height: auto;">
    </div>
    <h1 style="text-align:center; color:#274e13; font-weight:normal;">
        ¡Bienvenido al !
    </h1>
    <!-- TONO MÁS CERCANO (CAMBIAR SI SE PREFIERE EL PROTOCOLARIO) -->
    <p style="text-align:center; font-size:18px;">
        Querido/a <strong>[NAME]</strong>,
    </p>

the message that is sent added a <br> between </h1><p>. This happens all arount the messages(I dont added the whole message), but the problema is that the message is large and filled with <br> lineas that are not writtern by me and are not necessaty.

I read that the problem is the nl2br nd i have to disable it using sth like: 
  1. En la pestaña Parámetros (o Parámetros de Visualización), busca una opción llamada "Formatear saltos de línea" o "Renderizar como HTML".
  2. Cambia el ajuste a No o selecciona Texto plano (Plain Text) para evitar que la extensión inyecte de manera automática la función
    Code:
    nl2br"
Code:
How can I do that?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50842
  • Thanks: 8711
  • Karma: 1475
1 month 2 weeks ago #344634 by krileon
Replied by krileon on topic Welcome Email Body
You're sending an HTML email with a non-HTML line break. CB by default will convert non-HTML linebreaks to HTML linebreaks. Using a language string or compressing into a single line should prevent that behavior.


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.

  • borja
  • borja
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
1 month 2 weeks ago #344638 by borja
Replied by borja on topic Welcome Email Body
Thank you. Fo language string i have to defined a variable, i.e, REGISTER_MAIL,  with the whole documentum and variables inside it and the call it from Community builder using [REGISTER_MAIL], isn´t it? 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50842
  • Thanks: 8711
  • Karma: 1475
1 month 2 weeks ago #344640 by krileon
Replied by krileon on topic Welcome Email Body
For a language string you'd define the key and just set the parameter in CB > Configuration > Registration entirely to your key. I can't guarantee that'll turn this behavior off though. Normally you'd have to single line it as currently we don't have a parameter to turn it off.


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: beat, nant, krileon
Powered by Kunena Forum