We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1416
    • 75 Posts
    Running on a 0.9.6.3 MODx

    Not shure if this is a Ditto problem or PHx problem, but I can´t find a good answer anywhere anyhow.

    I have a snippet call like this:
    [[Ditto? &parents=`7` &depth=`1` &display=`all` &sortDir=`ASC` sortBy=`id` &tpl=`LokalaTpl` &tplAlt=`LokalaTplAlt` &showPublishedOnly=`1`]]


    And shure, it displays the page as it should, http://www.bro.org.se/lokala-foreningar.html but whenever I try to access that page after editing a dittoed document, all I get first is a white blank page.
    Then, after refreshing the page, it works as it should.
    If I use [!!] in my snippet call it doesn´t work at all.

    I use PHx quite extensivley on that page. (The page isn´t finished yet, so for now it might look like PHx isn´t of much use, but it is of great use, easier to display what needs do displayed and not displayed)

    I use the exact same setup on another server, and there it works perfectly.
    Has Ditto any problems with some PHP/MySQL version?!?

    Cheers
    Amrit
      • 16278
      • 928 Posts
      Does the document the Ditto call is have the Cacheable checkbox cleared? I think the standard setting for Ditto when using PHx plugin is to make the Ditto call uncached, but the document non-cacheable. Certainly that’s the case if you need pagination. smiley KP
        • 1416
        • 75 Posts
        Hi KP.

        Thanks for the input, but, since using uncached [!!] snippet call wasn’t working at all, using uncacheable on the document renders the same result, eg. nothing is displayed...

        Cheers