We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 509
    • 93 Posts
    Hello MODxer,

    Since the last update, I noticed that in all my modx site, when I create a new ressource the "Publish date" field is now set by default and then when I save my document, it is published. Even if in my configuration "Published default" is set to no.

    Any idea on this?
      • 25663 MODX Staff
      • 12,272 Posts
      It’s ManagerManager default to set the pub_date to the creation time. Remove that from the install and you should be good to go. Hmm ... wonder if MM syncing code needs to factor in the system config published defaults.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 509
        • 93 Posts
        @INHERIT is really a great feature, I am now using it smiley
        I use it now for META tags, I removed the future deprecated MetaTag option.

        It’s ManagerManager default to set the pub_date to the creation time.

        Not sure to well understand... What is ManagerManager? And where is defined this default? I had a look in configuration without success.
          • 25663 MODX Staff
          • 12,272 Posts
          ManagerManager is a plugin. If you’re not using it you can disable it.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 509
            • 93 Posts
            OK, it’s now OK !
            Thanks smiley
              • 23072
              • 150 Posts
              Quote from: rthrash at Nov 19, 2009, 08:06 AM

              It’s ManagerManager default to set the pub_date to the creation time. Remove that from the install and you should be good to go. Hmm ... wonder if MM syncing code needs to factor in the system config published defaults.

              I’ll second that one Ryan. It really was confusing me til I saw this thread.

              For those using ManagerManager that don’t want pages auto-published, just go to the mm_demo_rules chunk and change this line:
              mm_default('pub_date');

              to this:
              // mm_default('pub_date');


              That just simply comments out that rule so it’s not run for the less-code-savvy folks out there.

              The easiest thing in the next update might be to scan for that line in the demo rules chunk and comment it out by default, adding a note above it about the side-effects of using it I guess. I can see how it would be useful in some situations so it’s not worth taking out completely.
                Notanotherdotcom Ltd

                Web | Print | Marketing