We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4195
    • 398 Posts
    Because Jot uses PHx it’s possible to easily extend it with some nice mini-snippets.

    Read the PHx: Custom modifiers installation steps and create the :bbcode example in the modx manager (remember to name the snippet phx:bbcode!).

    In your jot comment template replace:

    [+comment.content:wordwrap:esc:nl2br+]

    with:
    [+comment.content:bbcode:nl2br+]


    and now you have BBcode support in your comments!


    See it in action on this demo.

    note to advanced users:
    the bbcode snippet is just a simple example of how to implement bbcode, the regular expresions can be enhanced to support more bbcode tags and to increase security)
      Armand Pondman
      MODx Coding Team
      :: Jot :: PHx