ditto

MODx: Wrong Result using Ditto and JSON output

I'm using the following Ditto call: [!Ditto? parents='8' &dateSource='event_date' &summarize='100' &format='json' !] But Ditto ignores the dateSource param as long as format is set to JSON. I'm using MODx evo and Ditto 2.1.0. Any ideas? ...

Change hidden item when lightbox is open

I have a portfolio section that is set up as a main image is displayed with tiny images below it. When you click on the tiny images the main image is changed (rotator). They are changed by javascript that is run for test.html#slider1, test.html#slider2, etc. When the main image is clicked, a lightbox, or more specifically a jQuery Color...

What flags do I need to pass to ditto to mimic the behavior of "right click -> Compress"?

I'm writing a shell script that needs to compress a dir with the same options that are set from the Mac GUI when you do a "right click -> Compress". From what I understand ditto is the right tool for the job, but what flags do I need to pass besides "-c"? I've tried raw "-c" as well as "-c -k" and both give different results from the r...

In MODx how do I make a ditto call with a dynamic parents='folderId'

For every page on my site I have a folder in the MODx manager with articles. I'm using Ditto to collect the articles from a folder to generate the page content. The Ditto call is made from a page template. Now what I want is to use the same template for different pages with different articles from the corresponding folders. So the starti...