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

    I have a migxdb working with a scenario where registered users can login and edit their own content.
    One of these fields is a richtext area which just displays as a textarea on the front-end and i wonder if any of the formatting options such as paragraph breaks, bold text and links could be given as options?

    Thanks for any help

    J
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 17301
      • 932 Posts
      Try installing a rich text editor in the extras - tinymcewrapper is a good one.
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 36549
        • 572 Posts
        Thanks for your reply...how would i get this to display on the front-end and limit the options?
        I do have tinyMCE and CKEditor installed.
          www.9thwave.co.uk
             WEB | DESIGN | PRINT
          • 42562
          • 1,145 Posts
          Don't get confused. You DO NOT NEED any MODX Extra to help you with basic frontend editing.

          From https://www.tinymce.com/download/ ... done!
          <!DOCTYPE html>
          <html>
          <head>
            <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
            <script>tinymce.init({ selector:'#myLoginTextarea' });</script>
          </head>
          <body>
            <textarea>Easy (and free!) You should check out our premium features.</textarea>
          </body>
          </html>

          Plug that into your login page
          Use something like this to seriously limit user actions
          tinymce.init({
            selector: "#myLoginTextarea",
            statusbar: false,
            plugins: "imagetools,autoresize,preview,paste,contextmenu,image,wordcount,fullscreen,code,charmap,searchreplace,textpattern,emoticons,insertdatetime",
            ....ETC...ETC
          })

          If you want to take that user-own page to the next level of editing experience...
          - Install Bob Ray's NewsPublisher
          - Install TinymceWrapper

          TinymceWrapper comes with a complete frontend magic called TinyMagicPublisher

          Enjoy!
            TinymceWrapper: Complete back/frontend content solution.
            Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
            5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.