We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24495
    • 407 Posts
    Can’t find this in archive. There was a solution to integrate an RTE to edit introtext/summary field. Can anybody help? Thanks.
      • 2762
      • 1,198 Posts
      Create a new plugin ’RichText News Summary’
      global $replace_richtexteditor;
      $replace_richtexteditor[] = "introtext";
      


      check OnDocFormRender
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 24495
        • 407 Posts
        Great, thanks.
          • 26074
          • 121 Posts
          Quote from: banzai at Nov 27, 2006, 01:00 PM

          Create a new plugin ’RichText News Summary’
          global $replace_richtexteditor;
          $replace_richtexteditor[] = "introtext";
          


          check OnDocFormRender

          Works it in modx 0.9.5? I try but don’t replace.
            ___________________________________________________________________
            ..:: Samuele ::..
            • 27376
            • 576 Posts
            Here’s some changes to the plugin that should make it work if you’re having problems. It shouldn’t make a difference but just in case:
            global $replace_richtexteditor;
            
            if (is_array($replace_richtexteditor))
            	$replace_richtexteditor[] = 'introtext';
            else	$replace_richtexteditor = array('introtext');

            Don’t forget to check the "OnDocFormRender" System Event in the System Events tab of the plugin editor.
              • 26074
              • 121 Posts
              Ok thanks. Now work.
              But, if I want the RTE only for introtext and not for the content?
                ___________________________________________________________________
                ..:: Samuele ::..
                • 27376
                • 576 Posts
                Try unchecking the "Rich Text" button on the "Page Settings" tab in your document.
                  • 7455
                  • 2,204 Posts
                  and is t posible that the rte is alo working in QE?

                  now it does not render the RTE in QE
                    follow me on twitter: @dimmy01