Questions tagged [ditto]

A MODx plugin that lists data from documents to create output in many formats.

Ditto is a MODx plugin that aggregates documents to create blogs, article/news collections, and more, with full support for templating.

It lists data from documents to create output in many formats. You can specify which documents, you can specify what data, and you can specify the layout of that data.

34 questions
0
votes
1 answer

Copying data to clipboard manager Ditto

I refused to ask a question here but I just can't find a solution. I use Ditto as my fav clipboard manager, when I copy data there I can access it via assigned keys on my keyboard. This is very handy. I need to copy values from cells in Excel, so…
Robb
  • 45
  • 1
  • 5
0
votes
1 answer

Image is not displayed using ditto/doclister

The website in on Modx Evo CMS. I tried using both DocLister and Ditto and none of them display image. this is the chunk code with the tv [image-blog]:
Valerie
  • 1
  • 2
0
votes
2 answers

pywinauto: how to SendKeys on a ListView which doesn't accept SendKeys?

I did select an item from a list (using the code bellow), I'm need now to send a ctrl+E. The problem is that somehow the SendKeys method isn't available, I can't use SendKeys('^e'). (This shortcut will edit the selected item in the ditto app) from…
J. Does
  • 785
  • 3
  • 10
  • 23
0
votes
0 answers

Using Ditto with a Variable in the pathname - Error

New to Bash - I'm trying to run a script that copies the profile from a mounted Windows drive using ditto. I have run the ditto command with the username included so know it works, now trying to use a variable input to run. But get an error msg…
0
votes
1 answer

Ditto call excludes docs by template-variable

I want to exclude all docs in my Ditto call that have a certain template-variable... say tv-1 with a value. Well, it doesnt matter if the TV has a value or not. Just the presence of the TV applied to a specific resource document would already be…
user4752928
0
votes
1 answer

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…
Esger
  • 1,310
  • 12
  • 18
0
votes
1 answer

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…
Tony Z
  • 3
  • 1
0
votes
2 answers

MODX (Evo) Ditto and Carousel with multiple DIVs in which children resource IDs need to be loaded

This concerns MODX Evolution, Ditto and Bootstrap3 Carousel. My aim is to show Ditto loaded articles in individual DIVs presented in a carousel. My code only shows all three articles inside one DIV and all DIVs show the same (!) three articles (the…
user4439280
0
votes
1 answer

loop through ditto calls in MODx

I use ditto to show the last entries of a specific parent. For this I am using the following call: [!Ditto? &parents=`5` &orderBy=`createdon DESC` &display=`3` &total=`4` &extenders=`summary` &tpl=`tpl_news` &truncLen=`160` &truncOffset=`20` !] I…
Lotzki
  • 489
  • 1
  • 4
  • 18
0
votes
1 answer

create a content-only page for mobile news feed in modx

I've been tasked with providing the backend for a news feed that will be used by our company apps. The feed will pull articles from our current website, which is built with ModX (evolution). So far, I've designed the feed to send JSON through a…
Brian Phillips
  • 4,302
  • 2
  • 25
  • 40
0
votes
1 answer

Modx Ditto display count

Can i use a variable inside Ditto placeholder? For example [!Ditto? &tpl=`TPL-jc` &display=$myVar] instead of [!Ditto? &tpl=`TPL-jc` &display=`10`]
user2298672
  • 41
  • 2
  • 2
  • 7
0
votes
2 answers

ModX Ditto: Display selective documents

I want to use Ditto to display a list of documents. I cannot seem to set this up to work correctly. So far I have: [!Ditto? &parents=`3` &documents=`10,32,339,86,303,302` &tpl=`blog_summary`!] But this gives me all the items under…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
0
votes
1 answer

ModX Ditto: Orderby TVs?

I want to order Dittos results by a TV called 'city' I have set out my Ditto call as such: [!Ditto? &parents=`87` &display=`99` &orderBy=`city ASC` &tpl=`dittotpl`!] But this doesnt work. I cannot find any resources to do this online. Can any help…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
0
votes
2 answers

Pagination [+next+] not working on MODx CMS template

I'm having difficulty getting the pagination functionality working with [[Ditto? ... ]] in MODx CMS. I have the documents displaying in the page, limit is set to 5. The output from my other pagination template placeholders seem to be working but the…
Chris
  • 882
  • 1
  • 10
  • 22
0
votes
2 answers

ModX: Using Ditto with template variables

I am having a great deal of difficulty getting my head round displaying secveral resources on one page with Ditto. I cant seem to get TV's to show along with my content. Heres how I have set it out: I have a page with my Ditto call: [!Ditto?…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295