We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10604
    • 3 Posts
    Hello,
    I am new to CMS and have experience in web design.
    I have read and searched for the answer to my question, but maybe it is just too basic smiley
    I am setting up a site that I want content/commentary inserted automatically for each day in the same section.
    I have a template created for my site but am not sure the best way to set up this daily entry efficiently.
    What format should I set up my daily content in, with a set publish date? (chunk, tv, document, etc.)
    How do I call this up from my main template?
    I just need someone to point me in the right direction!
    Thank you for your help with this.
    Susan
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you are creating resources (pages) that you want to be displayed at a certain date/time, use the publish/unpublish date pickers for the resource.

      Ditto (Evolution) and whatever it is Revo uses for a "news" or "blog" listing (sorry, I don’t use Revo and forget its name) will respect the publish/unpublish status. In this case, the snippets should be uncached (since they need to re-create their aggregations every day to catch the newly published resources).
        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
        • 10604
        • 3 Posts
        Susan, thank you for your response. So there is a another module that I need to add. I will look into this.
        Thanks again,
        Susan
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Are you using Evo or Revo?
            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
            • 10604
            • 3 Posts
            Revo. I added the package and am now looking at how to incorporate it. I have a lot to learn but am enjoying the process. Is there a tutorial that you recommend?
              • 2740
              • 95 Posts
              I think Susan is referring to the ’getResources’ which replaces Ditto in Revolution.

              Even if you are using Revolution I would have a quick read of the tutorial on Evolution here: http://codingpad.maryspad.com/category/modx/
              The basics of Evolution can be applied to Revolution just with different extras.
                • 11076
                • 159 Posts
                getResources Documentation
                http://rtfm.modx.com/display/ADDON/getResources

                DESIGNfromWITHIN getResources Tutorial
                http://designfromwithin.com/using-the-power-of-the-modx-getresources-add-on/

                And for what concern you have on scheduling your documents, i added a short explanation print screen (you can see it below).
                  Michael Shraibman( gOmp)  | Freelance Design & Development | wink  impossible is nothing...
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Yeah, getResources rolleyes rolleyes
                    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