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

modx 1.05 - how to remove new lines on Ditto's call

when I'm calling in the item tpl a piece of content by:

[+content:len:gt=`100`:then=`[+content:character_limit=`100`+]`:else=`[+content+]`+]

there are new-lines (BR or \n\r) from tinymce. I want to remove them - how can I do that?
quardas
  • 651
  • 3
  • 10
  • 23
0
votes
1 answer

ModX: Display multiple pages on one page -How to implement

I understand I am meant to use Ditto to do this but am unsure where to go from there. Currently, I have a Template with all my TVs on it along with several pages using the template that are stored under a parent. The Ditto code I am using…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
0
votes
1 answer

modx - when I'm using "&documents=" parameter in ditto snippet, pagination doesn't work

I'm trying run ditto with parameter which holds specific docIDs: &documents= when I put static IDs code to the chunk: [[Ditto? &documents=`9,239,240,242,243,246,253,257,260,261,267,269,281,285,288` &showInMenuOnly=`1` &tpl=`item_subdocs` …
quardas
  • 651
  • 3
  • 10
  • 23
-1
votes
1 answer

How to write tab command in c++ to switch input form

I have a database and I want to add that data to a web application using ditto. I copied the data from my domain for me to paste in someone else's domain. With a semicolon separator. So, I want when the text is pasted, the semicolon changes to the…
1 2
3