We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    If I’m understanding what you did --

    You don’t need an allow_modx_tags *policy*, just the permission (which you created correctly).

    Delete the allow_modx_tags *policy* (not the permission) on the Policies tab.

    Still on the policies tab, right-click on the Administrator policy and select "update"

    Put a checkmark next to allow_mods_tags in the Administrator policy, then save the policy.

    Do the usual flushing and you should be good to go.
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 4948
      • 33 Posts
      THANK YOU SO MUCH!
      That works smiley Now I’ve just got to get my RTE working, buy I’ll try and figure that out by myself smiley

      Thanks you again, sorry for such a noooooob questions embarrassed
        • 3749
        • 24,544 Posts
        Quote from: Chaps at Feb 21, 2011, 03:47 PM

        Thank you again, sorry for such a noooooob questions embarrassed

        No problem. We were all newbs when we started out, and we’re all still newbs at something. wink

        Glad you got it working. grin
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 4948
          • 33 Posts
          Hi Bob,

          Thanks for understanding. Been playing with it and it submits the text from the front end beautifully. I still havent managed to figure out how to get TinyMCE working in the front end. I’ve got the following code on my newspublisher page

          [[!NewsPublisher? &show=`pagetitle,content` &initrte=`1` &rtcontent=`1` &tinyWidth=`98%` &tinyheight=`700px`]]

          am I missing something to initiate the rte? Read your instructions, and have ’decided’ that I should not mess around with the deafault properties so I’m trying to activate the rte with the parameters in the snippet tag. Is that the right approach?

          Thanks again

          Chaps
            • 3749
            • 24,544 Posts
            Yes, I do that often (and you should never edit the default properties except for components you write yoursefl). You can also create your own property set on the snippet’s properties tab and use:

            [[!NewsPublisher@MyPropertySet]]


            BTW, in Revolution, it’s OK to put the snippet parameters on separate lines, which can sometimes help you spot typos.

            [[!NewsPublisher? 
                &show=`pagetitle,content` 
                &initrte=`1` 
                &rtcontent=`1` 
                &tinyWidth=`98%` 
                &tinyheight=`700px`
                &rtcontent=`1`
            ]]
            


            What you’re missing is this one:

            &rtcontent=`1`

            :)
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 4948
              • 33 Posts
              Hi Bob,

              I had &rtcontent=`1` as the third parameter in my code (but Ive copied and pasted your snippet to make sure).Its still not displaying the TinyMCE? Just curious am I supposed to have the Rich Text under the newspublisher page settings checked or unchecked. I’ve tried both and I know this makes a difference in the back end. (its currently off as when the RTE is on it replaces the & sign with ;amp code which I dont want). Hope that makes sense.

              Any other things I should of done?I think we’re almost there 98% (even applied the v2.0.8 patch and re-enabled the allow_modx_tags permissions and flushed everything to get it working - im learning wink )
                • 3749
                • 24,544 Posts
                Quote from: Chaps at Feb 22, 2011, 05:52 PM

                Hi Bob,

                I had &rtcontent=`1` as the third parameter in my code (but Ive copied and pasted your snippet to make sure).Its still not displaying the TinyMCE? Just curious am I supposed to have the Rich Text under the newspublisher page settings checked or unchecked. I’ve tried both and I know this makes a difference in the back end. (its currently off as when the RTE is on it replaces the & sign with ;amp code which I dont want). Hope that makes sense.

                Any other things I should of done?I think we’re almost there 98% (even applied the v2.0.8 patch and re-enabled the allow_modx_tags permissions and flushed everything to get it working - im learning wink )

                Sorry, I guess I’m going blind. I’ve been staring at the computer all day.

                I can’t think of any reason why that shouldn’t work, unless the TinyMCE files aren’t where they are supposed to be.

                Do a "View Source" in FF with the form on the page and click on the Tiny include links to see if they’re there and on the CSS files. Also, make sure the NP page has an actual valid template.

                The Rich Text setting on the NP page shouldn’t make any difference.
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 4948
                  • 33 Posts
                  Hi Bob,

                  I think it is the template, you’re good!

                  The references that have been placed in my template are as follows
                  <link href="css/styles3.css" rel="stylesheet" type="text/css">
                  
                  <link rel="stylesheet" href="/assets/components/newspublisher/datepicker/css/datepicker.css" type="text/css" />
                  <script type="text/javascript" src="/assets/components/newspublisher/datepicker/js/datepicker.js"></script>
                  <link rel="stylesheet" href="/assets/components/newspublisher/css/newspublisher.css" type="text/css" />
                  <script type="text/javascript" src="/manager/assets/ext3/adapter/ext/ext-base.js"></script>
                  <script type="text/javascript" src="/manager/assets/ext3/ext-all.js"></script>
                  
                  <script type="text/javascript" src="/manager/assets/modext/core/modx.js"></script>
                  <script type="text/javascript" src="/assets/components/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
                  <script type="text/javascript" src="/assets/components/tinymce/xconfig.js"></script>
                  <script type="text/javascript" src="/assets/components/tinymce/tiny.js"></script>
                  <script type="text/javascript" src="/assets/components/tinymce/tinymce.panel.js"></script>
                  



                  The template seems to be putting a "/" infront of the code, could that be the problem (my original css link does not have the slash and seems to work fine). The files are definitly in the folder
                    • 3749
                    • 24,544 Posts
                    Does the template used by the page contain this?

                    <base href="[[++site_url]]" />
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 4948
                      • 33 Posts
                      No, its one I designed whihch seems to eb working for everything I want... I’ve just added the "/" infront of the css file and that works. I’ll try and find a ’proper’ template and disect it, figure out how to use the <base href="[[++site_url]]" />.

                      Thanks onec again smiley