We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25215
    • 32 Posts
    I’ve just upgraded to Ditto 2 and found my old Ditto call no longer seems to work for my RSS.

    My call is

    [[Ditto? &id=`2` &format=`rss` &summarize=`10`  &total=`10` ]]


    Which results in a blank RSS page.

    Anyone got any idea what I’m doing wrong?
      • 11975
      • 2,542 Posts
      &id=`2`

      this is not a ditto param
      change it to &parents=`2`

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 25215
        • 32 Posts
        Ok, I tried that and now I get an:

        Fatal error: Call to undefined function: html_entity_decode()

        error.

        I’m using the older Ditto snippet to do this in the meantime, but it would be nice to know how to do it with Ditto 2
          • 18397
          • 3,250 Posts
          What version of PHP are you using?

          @heliotrope: &id is a parameter that sets a unique ID to a ditto call
            • 25215
            • 32 Posts
            PHP version 4.2.2
              • 18397
              • 3,250 Posts


              For Optimal Results

              While MODx will run almost anywhere, the following guidelines should serve you well. We’ve spent hundreds of hours in the forums that can be traced back to really cheap hosting, so you do get what you pay for there.

              * A very reliable web host without turbo-overloaded servers.
              * Linux.
              * Apache with mod_rewrite.
              * PHP 4.3.10 or above. PHP 5.1.x will get you some very cool things in the near future.
              * MySQL 4.1.x or above. The 5.0.x and above branches look great but
              * You’ve seen and know what "<?php" means.

                • 25215
                • 32 Posts
                Yeah, fair enough.

                I’d just like to know if this was a PHP version issue or if I’m just doing something stupid. I’m trying to get PHP upgraded anyway.

                I’ve got RSS feeds working with the old Ditto btw.

                Cheers
                  • 18397
                  • 3,250 Posts
                  Its a PHP version issue as the html_entity_decode() and encode functions are in PHP 4.3.x or later.