We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8471
    • 333 Posts
    I have a problem: ditto doesn’t recognize this parameter
    &descendentDepth =`2` 

    If I change this parameter into the snippet it works good, but if I set the parameter in the call it doesn’t work.
      Sorry for my bad English grin
      • 2762
      • 1,198 Posts
      Nicola (Banzai) Reply #2, 20 years ago
      Hi Edipo smiley

      which version of Ditto? - with the last beta (1.1) &descendentDepth is now &depth .
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 8471
        • 333 Posts
        with the 1.0.2 sad
          Sorry for my bad English grin
          • 7923
          • 4,213 Posts
          I think I remember there being some bugs in that version, maybe try the new beta?


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 8471
            • 333 Posts
              Sorry for my bad English grin
              • 7923
              • 4,213 Posts
              Yes


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 8471
                • 333 Posts
                I have tried but I have this error:
                Parse error: syntax error, unexpected '<' in C:\sito\manager\includes\document.parser.class.inc.php(705) : eval()'d code on line 1
                  Sorry for my bad English grin
                  • 10487 MODX Staff
                  • 1,535 Posts
                  Garry Nutting Reply #8, 20 years ago
                  You have to remove the <?php and ?> from the start and end of the snippet.
                    Garry Nutting
                    Senior Developer
                    MODX, LLC

                    Email: [email protected]
                    Twitter: @garryn
                    Web: modx.com
                    • 8471
                    • 333 Posts
                    Thanks, now the snippet works, but I have the same problem! :’(
                      Sorry for my bad English grin
                      • 7923
                      • 4,213 Posts
                      Please provide your snippet call, possibly a screenshot of the document tree and explanation of your problem.


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."