Thx Ryan
I did the same and took a copy directly from the svn
:-)
Hi Mark,
The issue about $ditto->prefetch does not appear any more in this version.
I’ll have two request:
1/ could you please consider to add these changes in buildUrl function line 727
$queryString .= ’&’.$param.’=’.(is_array($value) ? implode(",",$value) : $value);
I need this to make ditto and tvExplorer be compatible.
2/ About the filter delimiter it would be really handy to be able to specify its own delimiter to avoid conflict beetwen dellimited list widget and ditto (parseFilter function)
:-)
Ok, I just committed a few other minor changes as well as a bunch of updates to the Ditto TRAC site.
Here is 1st draft whats new:
What’s new in Ditto 2!
• New document and TV retrieval logic for up to 4x the performance of Ditto 1 when used with large quantities of documents
• PHx Support
• Optional randomization of the results
• Extender architecture to allow users to expand Ditto’s functionality and create their own custom placeholders
⁃ Request extender for functionality like DittoMachine
⁃ Date and Summary placeholders have been moved to extenders
• More powerful debug mode for quicker troubleshooting
• Archives have been removed and recreated in the new snippet Reflect available in the Ditto package as reflect.snippet.inc.php
• QE style placeholders with edit links now possible via the [+#item+] syntax
• Tags now support multiple tagData sources in a comma delimited fashion and the [+tags+] placeholder for a nice tag list
• It is now possible to have multiple Ditto calls with url based features on one page thanks to the id parameter which assigns a unique ID to each Ditto instance
• A new config architecture allowing users to create config files in the config directory with the simple php variable syntax
• Added new @bindings for templates including @CODE: and @FILE: for their respective purposes
• New formats including XML and ATOM
• Parents and documents options now available, start ID deprecated (will still work though...)
• Added between filtering for dates for use in conjunction with Reflect based archives or custom links