We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1687
    • 25 Posts
    Hi everybody,

    I have many entries with html tags like <strong></strong>
    ...
    I don’t know how to get these tags parsed for having great rich content ?



    Another question is about the rich text edit.
    How can we apply the rte to an input field with jot ?
      • 1687
      • 25 Posts
      laugh
      Ok, i have found...

      For me the original template was the problem with these modifiers : wordwrap:esc:nl2br

      for those who have this problem

      1. open chunk.comment.inc.html in assets/snippets/jot/templates
      2. take one moment to read this great page : http://wiki.modxcms.com/index.php/PHx#strip
      3. what we have to do is to simply put nl2br only ...[+string:nl2br+] (replace string by your string ... for me [+comment.title:nl2br+]






      nl2br
      Converts new lines to breaks.
      Example: [+string:nl2br+]
      





        • 19623
        • 1 Posts
        Quote from: angelys at Nov 29, 2009, 03:29 PM

        laugh
        Ok, i have found...

        For me the original template was the problem with these modifiers : wordwrap:esc:nl2br

        for those who have this problem

        1. open chunk.comment.inc.html in assets/snippets/jot/templates
        2. take one moment to read this great page : http://wiki.modxcms.com/index.php/PHx#strip
        3. what we have to do is to simply put nl2br only ...[+string:nl2br+] (replace string by your string ... for me [+comment.title:nl2br+]


        Hi angelys,

        You only addressed the first problem. Did you successfully solve the rich-text editor problem of Jot? I met the same problem here - we need to put images/pictures in the comments.

        Cheers
        Ming
          • 1687
          • 25 Posts
          Quote from: mingz at Nov 30, 2009, 01:34 AM

          Quote from: angelys at Nov 29, 2009, 03:29 PM

          laugh
          Ok, i have found...

          For me the original template was the problem with these modifiers : wordwrap:esc:nl2br

          for those who have this problem

          1. open chunk.comment.inc.html in assets/snippets/jot/templates
          2. take one moment to read this great page : http://wiki.modxcms.com/index.php/PHx#strip
          3. what we have to do is to simply put nl2br only ...[+string:nl2br+] (replace string by your string ... for me [+comment.title:nl2br+]


          Hi angelys,

          You only addressed the first problem. Did you successfully solve the rich-text editor problem of Jot? I met the same problem here - we need to put images/pictures in the comments.

          Cheers
          Ming

          Hi Ming,

          Not for the moment, i think that it would be more simple to add a jquery RTE :
          http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors

            • 30316
            • 10 Posts
            I use TinyMCE, because this is already being used by MODx. So it is already installed and also knows a BB mode. You can find the solution on my homepage.
            http://www.schwede.de/modx-tipps/modx-jot-rich-text-editor-tinymce.html
              • 32519
              • 94 Posts
              Quote from: TomKyle at Jan 11, 2010, 06:37 AM

              I use TinyMCE, because this is already being used by MODx. So it is already installed and also knows a BB mode. You can find the solution on my homepage.
              http://www.schwede.de/modx-tipps/modx-jot-rich-text-editor-tinymce.html


              Has anyone gotten this to work? It’s in German, and translating it didn’t make it much better.
                <a href="http://www.themovietimeline.net">The Movie Timeline</a> | <a href="http://www.antstuff.net">The Antfarm Site</a>
                • 23819
                • 37 Posts
                I got it to work. Remove the :esc phx modifier from the content placeholder in your comments template chunk.