We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36416
    • 589 Posts
    This is copy/paste from Ditto 2.0.3 snippet:


    Todo:
    - Allow when set to 0 show both published and unpublished documents

    Is it implemented in newest beta or I need to search for a workaround?
      • 18397
      • 3,250 Posts
      Yes, this has been implemented in 2.1b3.
        • 36416
        • 589 Posts
        Quote from: Mark at Jan 08, 2008, 10:48 AM

        Yes, this has been implemented in 2.1b3.

        Thanks. But 2.1beta will probably break my Reflect setup, right?
          • 18397
          • 3,250 Posts
          It depends. Templating in Reflect is much more powerful in 2.1b3 but the you’ll need to slightly alter your older templates to work. See "default.templates.php" for the new templates. Also, it is possible to install a separate version of Ditto in another location if need be.
            • 36416
            • 589 Posts
            Quote from: Mark at Jan 09, 2008, 03:08 AM

            It depends. Templating in Reflect is much more powerful in 2.1b3 but the you’ll need to slightly alter your older templates to work. See "default.templates.php" for the new templates.

            Thanks for the answer (and for structuring Ditto code in a way that enables integrating fixes into older versions, i.e. function "getDocumentsLite" wink )
            It was impractical to update to 2.1b in my current situation (site with 50+ Ditto calls going live on Friday).


            Also, it is possible to install a separate version of Ditto in another location if need be.

            You mean with $ditto_base parameter or something else?