New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • Hi everybody! I have a question - is there any way to use Rich Editor (or TinyMCE) in comments? I mean - users can post smiles and pictures, using this editor
      L.O.V.E is just a four letter word
    • Quote from: Defite at Apr 27, 2007, 03:34 PM

      Hi everybody! I have a question - is there any way to use Rich Editor (or TinyMCE) in comments? I mean - users can post smiles and pictures, using this editor

      Hi there I’m quite sure that it should be possible considering that TinyMCE is a plugin. I’m not quite sure how to do it but I will try to find out as I’m gonna use it for a similar purpose as you. Have you tried reading the documentation for TinyMCE?
      • No...i tried to find a solution in modx repository or at forum.also i tried to solve it using TV.but i don’t know how to allow ordinary user to use rich editor...my friend said that the solution can be found on modx forum...do u think documentation can help me?
          L.O.V.E is just a four letter word
        • Sorry for the late reply as I’ve been quite busy. I’ve checked the forum and it seems that it’s possible to allow ordinary users to use TinyMCE. It is some information in the documentation (http://modxcms.com/richtext-box-widget.html) but it’s quite sparse, give it a go anyways. I acctually think it should be quite a trivial task (as soon as you have done it once lipsrsealed )

          Also it seems like you are supposed to use TV.
          Did you try the following?
          1. In manager, go Resources->Manage resources->template variables
          2. Create a new TV the following way:
          --set name ([*richTextArea*]
          --Input type: RichText
          --Widget: RichText
          --set the Template Access?

          3. Call it on the page of your choice using this (example):

          <form>
          [*richTextArea*]
          </form>

          It worked for me, but as for the TinyMCE I’m not quite sure. Did this answer some of your questions?
          • Yeah,I thought about using TV’s...it is a good solution)and how to allow users to use rich editor without registration?is it possible or they have no way?i think in that occasion we must find smth different from TV’s...I’ll try to study documentation,thank u for the link
              L.O.V.E is just a four letter word
            • Quote from: Defite at May 02, 2007, 05:35 AM

              Yeah,I thought about using TV’s...it is a good solution)and how to allow users to use rich editor without registration?is it possible or they have no way?i think in that occasion we must find smth different from TV’s...I’ll try to study documentation,thank u for the link

              Yah the rich editor (not TInyMCE) is usable by not registred users. If you find a way to use TinyMCE for regular users let me know on this thread, I’ll do the same. Good luck.