We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 999
    • 67 Posts
    Hi,

    I’m trying to do something like [[Ditto? &tpl=`DITTO-GR-NEWS` &startID=`42` &summarize=`1000000` &start=`[!GetVar!]` ]]

    where [!GetVar!] is a snippet that gets the &start variable from the url. I want to call this document with index.php?id=123&start=5 so that ditto begins bringing documents from the 5 and after.

    I doesnt work, because if it did i wouldnt post this message smiley

    Any ideas on how to pass variables like this?

    Thanx guys.

    Alex.
      • 18397
      • 3,250 Posts
      Either use DittoMachine if you are using Ditto 1.0.2 or use Ditto 1.1 Beta 1’s new config file that handles get and post variables.
        • 999
        • 67 Posts
        I’m using modx 0.9.5 so i guess ill go with the new ditto. Where should i look? Do you have an example for the above syntax?
          • 18397
          • 3,250 Posts
          Use &config=`request`
            • 999
            • 67 Posts
            Ok thank you!