2018-12-11, 02:52

Feb 27, 2012 — Notify Users module, ver. 0.5 released — user can choose between sending single message (...) »

2013-01-28, 08:32

19 студзеня 2013 у Гродне трагічна загінуў паэт, журналіст і мой сябар (...) »

2009-10-14, 07:19

The site Litaratura.org is devoted to Belarusian literary works and translations. (...) »

2009-01-12, 20:46

Late November 2008 marked the 20th anniversary of the official founding of the Belarusian (...) »

Registered User Area Log into This Site
Show Credits... Credits
~ / Public Domain Software / Extensions to Ditto / DittoFormat Snippet $_
DittoFormat Snippet
Click To View A Full Size Image...
2010-01-10, 15:13

This snippet is a result of the solution provided to the MODx user Lokust.

Lokust had a problem with adjusting Ditto’s output and requested to design a thing that would divide the result set into equal groups with a configurable wrapper around the group so that the final output might be formatted with CSS into rows/columns as required.

Lokust not only donated to my work, but also decided to submit the snippet to the public domain as a MODx Add-On.

How to use DittoFormat

# 1) create new snippet 'DittoFormat' and paste into it content of the attached dittoformat.txt file
# 2) call your snippet something as:
[[DittoFormat? &parents=`2` &depth=`1` &display=`all` &sortBy=`menuindex` &sortDir=`ASC` &group=`3` &tplGroup=`group-chunk` &tplItem=`item-chunk`]]
# 3) please read more details on parameters in snippet's header

Download This Attachment... DittoFormat Snippet — the very latest version
Last modified: 2009-09-23, 00:00 — Size: 3,44 KB