Announcement

Collapse
No announcement yet.

Label Manager: how to have more than one newline per label

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Label Manager: how to have more than one newline per label

    [ EspoCRM v. 7.1.9]

    I managed to have a line break within a label using "\\n"(double backslash!), such as
    **Basis** – enhält lediglich Basisfelder wie Name, zugewiesener Benutzer, Teams und Beschreibung. \\n**Basis Plus** – wie Basis, aber zusätzlich mit Aktivitäten-, History- und Aufgaben-Panels.
    Any attempt to set an additional line break by using another "\\n" will not insert a new line but just show a "\n" (single backslash!) in the label:
    Click image for larger version

Name:	grafik.png
Views:	228
Size:	38.3 KB
ID:	84175


    Is there a way to have several line breaks within one label or even an unordered list?

    Regards

  • #2
    Hi agri,

    In this case, you do not need to use additional characters and letters. Try just pressing Shift + Enter to move the text to the next line and then check the result.

    Comment


    • #3
      Hi @lasovic,
      in Label Manager, there is just one line (input field, no text area) per label. Pressing Shift + Enter does not have any effect. I tried to prepare the text in n++ and copy it to EspoCRM, no effect either.

      (we are in Label Manager, entry "Entity Manager", tooltips, entityType)
      Last edited by agri; 10-18-2022, 03:16 PM.

      Comment


      • #4
        agri,

        Thanks for the details, I understand it now.

        Most likely, directly in the Label Manager it is impossible to supplement the field values with formatting that would wrap the text to the next line.
        Perhaps this can be done through changes to the EspoCRM files, it needs to be check.

        Comment


        • #5
          Hi lasovic,
          thanks for your reply. I don't know, wether this would be used very often. But it would really be nice to have!
          Kind regards

          Comment


          • #6
            did you try something like this: https://www.markdownguide.org/basic-...best-practices

            Comment


            • #7
              shalmaxb,
              yes, I did. Unfortunately, it does not work in single line <input>-Fields ...

              Comment


              • #8
                Solution: put file in question (here: EntityManager.json) into ...\custom\Espo\Custom\Resources\i18n\de _DE\ and edit tooltip as follows:
                {
                "tooltips": {
                "entityType": "* **Basis** – enhält lediglich Basisfelder wie Name, zugewiesener Benutzer, Teams und Beschreibung. \n\n* **Basis Plus** – wie Basis, aber zusätzlich mit Aktivitäten-, History- und Aufgaben-Panels.\n\n* **Ereignis** - hat die Felder Start- und Endedatum, Dauer, Elter und Status. Nur für Kalender und Aktivitäten. \n\n* **Person** - hat E-Mail, Telefon, Vor- und Nachname, Anrede, Adressfelder und die Panels Aktivitäten History und Aufgaben.\n\n* **Firma** - mit den Feldern E-Mail, Telefon, Rechnungsadresse und Zustellungsadresse. Zusätzlich die Panels Aktivitäten, History und Aufgaben."

                }
                }​


                This will look like
                Click image for larger version

Name:	grafik.png
Views:	191
Size:	71.4 KB
ID:	84491
                Thanks for your input!
                Regards

                Comment


                • #9
                  Thank you! Good output of your`s! Best way to end a thread.

                  Comment

                  Working...
                  X