We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40088
    • 708 Posts
    All my TVs (pickers, file upload, text fields) appear on the NP form as expected but any changes are not reflected on the actual resource. No errors are being thrown either. On the other hand the default system fields like 'content' and 'summary' work fine.

    The TVs have the correct template access settings and belong to the proper resource groups so I'm not sure where else to look for problems.
      Todd
      • 3749
      • 24,544 Posts
      Can you change and save those TVs in the Manager?

      If you give the font end user rights to the Manager, can they log into the Manager and edit and save those TVs?

        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
        • 40088
        • 708 Posts
        Yes, editing TVs from the manager does work.

        For dev purposes only, the Member user group uses the default Admin Policy so they are able to login to the Manager and yes, edit the TVs from the back-end.
          Todd
          • 3749
          • 24,544 Posts
          What version of MODX are you using?

          Are the TVs listed in the &show property?
            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
            • 40088
            • 708 Posts
            Revo 2.3.2

            Yes they are. The TVs appear as expected in the NP forms, they just won't update, even for an admin (sudo) when editing from the front-end.

            I assume if it were a permissions problem I wouldn't be able to edit the TVs from the Manager (I can). The whole ACL/permissions thing is still a bit like voo-doo to me. [ed. note: todd.b last edited this post 11 years, 9 months ago.]
              Todd
              • 3749
              • 24,544 Posts
              Do you have &stopOnBadTv=`1` in the NP tag? (it's the default). That should alert you if there's a TV that isn't connected.

              I don't know what to suggest. If a sudo user can't save them, it shouldn't be a permissions problem and if you can save them in the Manager, it's probably not mod_security. Do all the TVs contain MODX tags by any chance? If so, it might be an issue with the allow_tags_in_post System Setting.

              You do have the latest version of NewsPublisher, right?
                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
                • 40088
                • 708 Posts
                Quote from: BobRay at Jan 12, 2015, 09:15 PM
                Do you have &stopOnBadTv=`1` in the NP tag? (it's the default). That should alert you if there's a TV that isn't connected.
                Yep, but no errors.

                Do all the TVs contain MODX tags by any chance?
                Sorry, I'm not sure what you mean (maybe that's my problem).

                If so, it might be an issue with the allow_tags_in_post System Setting.
                allow_tags_in_post is disabled in Settings but I did enable allow_modx_tags in the NP Policy.

                I'm using NP 2.0.2.
                  Todd
                  • 3749
                  • 24,544 Posts
                  The new version converts tags from this format

                  [[tag . . . ]]


                  to this format when NP is loaded.

                  {{tag . . . }}

                  It converts them back again on save. If there are MODX tags in the TV values and they still look like the first example in NewsPublisher, that would be a clue. If you can't save a TV with no tags in its value for the resource you're editing, that's not the problem.

                    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