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
    I’m not sure what to tell you. It works fine for me if I paste in your snippet tag. I would not have a space in a resource group name, but I doubt if that’s your problem.

    All I can suggest is that you make sure the template attached to the NewsPublisher resource is valid HTML and that you haven’t changed any of the built-in Tpl chunks.

    You are correct about the cancel button. It does default to Yes, and that property should have been removed. If you don’t want a cancel button, you can just remove it from the outer template.

    Datepicker does default to Yes (mistake in the description) because there are a couple of date fields in the default value of &show.

      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
      • 3749
      • 24,544 Posts
      I’ve uploaded V 1.0.4. It may not be available in Package Manager yet, but you can get it here: https://github.com/BobRay/newspublisher (download button). Just download it to /core/packages and do Add Package + Search Locally for Packages in PM.

      Before you download it, I’d advise both uninstalling and removing the the 1.0.2 version first, since you’re having trouble.

      Your NewsPublisher resource won’t be affected.
        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
        • 14877
        • 110 Posts
        It’s bizarre!


        • Downloaded 1.0.4
          uninstalled and removed 1.0.2
          Installed 1.0.4
          Tried it - didn’t work
          Changed &groups (flushed permissions, cleared cache) - still didn’t work

        Note: Accessing the site’s front end over my wireless router from my PC (using Firefox); doing backend work directly on the Mac using Firefox. ALWAYS logout of front-end and then back in again before testing any change.


        • Tried bringing up Safari on Mac -- WOW, there’s the RTE!
          OK. Back to the PC. Logout of front-end (yet again)
          Cleared Firefox’s cache
          Exited and then relaunched Firefox
          Logged into front-end -- OK, there’s the RTE!

        As I said, bizarre.

        By the way, thanks for fixing those minor parameter things smiley
          __________________
          JRG
          • 14877
          • 110 Posts
          tinymce Toolbar Doesn’t work in NewsPublisher

          I know that’s been reported before, but I was hoping the latest version of the tinymce extra had fixed that.

          Also, there doesn’t appear to be a way for the front-end user to toggle between tinymce and plain text editing (i.e. editing the raw HTML).
            __________________
            JRG
            • 3749
            • 24,544 Posts
            Quote from: jrg at Jan 16, 2011, 08:18 PM

            tinymce Toolbar Doesn’t work in NewsPublisher

            I know that’s been reported before, but I was hoping the latest version of the tinymce extra had fixed that.

            Also, there doesn’t appear to be a way for the front-end user to toggle between tinymce and plain text editing (i.e. editing the raw HTML).

            I’m afraid there’s still a bug in TinyMCe’s tiny.js file that makes it look for modx-panel-resource in the front end whenever you click on a toolbar button (feel free to suggest a fix wink ).

            I think that as soon as that’s fixed, TinyMCE’s HTML toggle button will work as well.
              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
              • 31649
              • 6 Posts
              Hello.
              how to display the form only to certain groups of users?
                • 15162
                • 59 Posts
                Hello, again.

                I checked my db and found out that I had a collation mismatch that probably happened during an import. I changed all the collations, so that they should be correct, through phpMyAdmin. I don’t know if any of the tables had anything to do with NP, but I assume that wrong collations could cause some problems. NP still doesn’t work for me though, but if the installation had these kind of problems, I’m sure there could be something else wrong still. So it’s definitely not your code that causes the problems for me. Just thought I’d let you know wink
                  • 3749
                  • 24,544 Posts
                  Quote from: JX3 at Jan 18, 2011, 11:52 AM

                  Hello, again.

                  I checked my db and found out that I had a collation mismatch that probably happened during an import. I changed all the collations, so that they should be correct, through phpMyAdmin. I don’t know if any of the tables had anything to do with NP, but I assume that wrong collations could cause some problems. NP still doesn’t work for me though, but if the installation had these kind of problems, I’m sure there could be something else wrong still. So it’s definitely not your code that causes the problems for me. Just thought I’d let you know wink

                  Thanks for the feedback. smiley
                    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
                    • 3749
                    • 24,544 Posts
                    Quote from: vitaliy at Jan 18, 2011, 06:07 AM

                    Hello.
                    how to display the form only to certain groups of users?

                    Put the NewsPublisher page in a resource group and connect that resource group with any user group(s) you would like to be able to see it. Use a Resource Group Access ACL entry with a context of ’web’ (or other front-end context) and a policy of Resource.
                      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
                      • 31649
                      • 6 Posts
                      no. I need to make the page visible to all, and the snippet only worked if I allow a user.