We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36704
    • 131 Posts
    Hi there,
    Currently i am using the Revo 2.2.5 & NewsPublisher with TV Dates

    Each time a create a new resource and save using front end editor (NewsPublisher) the TV date has a given me the current date value if i don't fill up the date.
    I did check my settings on TV date (If no value, use current date: NO).

    Any idea how fix this problem?

    Thank you in advance..


      • 3749
      • 24,544 Posts
      Sorry about the delay in answering.

      I've duplicated this problem, but I can't find any place in NewsPublisher that sets the date if it's empty. The datepicker JS code is very complex and it may be happening there, but if so, I couldn't find it.

      It may be a problem with the MODX resource/update processor, but I don't think so.
        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
        • 36704
        • 131 Posts
        Thanks for your reply Bobray,
        I know that we are both busy..
        Of as for now If there is no solution... then my option is to change my TV date into text and type manually the date by the end user.

        Regards..
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Any time you create a resource it is automatically given the current date as its createdon and publishedon date. The TV could be picking this up somewhere.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 36704
            • 131 Posts
            On my observation,
            When i try to edit the current resource on manager and remove all the current date and clear site cache it works fine. All the TV Date value was empty
            But when i go back in the frond end editing all the TV date has a value of current date.
              • 3749
              • 24,544 Posts
              Yes, that's what I saw. It's most likely a problem with the DatePicker JS code, but I wasn't able to find it.

              BTW, where did you see this setting you mentioned?

              If no value, use current date: NO

                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
                • 36704
                • 131 Posts
                The setting was on the Template Variable -->Output Options -->If no value, use current date: NO