We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6577
    • 34 Posts
    Hello, first time around here for me. I am having a problem with Ditto and I couldn’t find any documentation on the issue.

    What the problem is, is I have my website up and the blog set up as well, everything works great. Ditto creates the blog entry, it even marks the document as published. However the document does not show up in my blog until I manually publish the page. Which is rather irritating.

    I’ve tried finding a variable in the code that manages when things published, removing the date column, pre-dating the date column, leaving the date column blank, setting system configuration to auto publish all new documents. So far no luck.

    Any help with this issue would be GREATLY appreciated.

    Thanks in advance, Mike
      • 6577
      • 34 Posts
      Well I waited my 48 hours. Just a bump.

      Am I missing information that could assist in someone helping me out with a fix?

      Thanks in advance.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Well, for one thing, Ditto is for displaying news or blog entries. That may have us all a bit confused as to exactly what you are trying to do...
          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
          • 36592
          • 970 Posts
          If you are publishing your blog entry with the ’NewsPublisher’ snippet,
          I think you should try " &clearcache=`1` ".
          http://modxcms.com/forums/index.php?topic=15289.0
            • 6577
            • 34 Posts
            You have many many thanks for that link tkfm!!!

            Fixed my issue, funny part is - I took a lucky guess at where to put the &clearcache=’1’ lol! I know nothing about the coding of MODx or the plugins. Next project is to learn how to use MaxiGallery! Off i go!


            Thanks again for the help, and I apologize for not being able to properly explain my needs prior.

            Ya’ll rock!
              • 33337
              • 3,975 Posts
              Be sure, &clearcache=’1’ ... its not the single quotes ’ around the value but back ticks`. Its mostly under the "Esc" key on a keyboard.
                Zaigham R - MODX Professional | Skype | Email | Twitter

                Digging the interwebs for #MODX gems and bringing it to you. modx.link
                • 6577
                • 34 Posts
                That’s the Tilde key you speak of. smiley

                Right now it’s single quotes and it’s working just fine.. If I experience problems I’ll switch to the `1` with the ticks. Thanks for the heads up!
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Do NOT use single quotes. It may be working fine in this case, but you will find yourself in trouble in no time if you don’t get into the habit of using backticks right from the start. Actually, I don’t see how it’s working for you now. The way snippets parse the parameters, it should not be.
                    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
                    • 7231
                    • 4,205 Posts
                    If it is working it must be backticks. I am guessing that if it was copied and pasted in that it went with backticks.

                    Good advice to always use backticks.
                      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                      Something is happening here, but you don't know what it is.
                      Do you, Mr. Jones? - [bob dylan]