
<?php
$dt = strftime($options, (intval($output) + $modx->config["server_offset_time"]));
if ($modx->config["modx_charset"] == "UTF-8")
{
$dt = utf8_encode($dt);
}
return $dt;
?>
and I’m really badly confused. Maybe somebody can give me a hint to get Ditto running again.[[Ditto? &parents=`2` &summarize=`3` &removeChunk=`Comments-de` &tpl=`ditto_blog-de` &paginate=`1` &paginateAlwaysShowLinks=`1` &extenders=`summary,dateFilter` &language=`german` &dateFormat=`%d.%m.%y, %H:%M` &paginateSplitterCharacter=`|` &truncText=`Weiterlesen ...` &debug=`1` ]]
but maybe I can help you.That’s right (I guess). To get the files see the first post of this thread. Update both the files and snippet code (both Ditto and Reflect) or create new snippets for testing purposes, if you don’t want to delete the older ones.
I tried to use the snippet code for Ditto 2.0 and received the following error (I’m using Modx .95):
/home/httpd/vhosts/lynchcreekdahlias.com/httpdocs/assets/snippets/ditto/ classes/ditto.class.inc.php does not exist. Please check the file.
I guess I also need to upload the new files for ditto 2.0.
My goal is to be able to format the m-d-Y and I think I can do that in version 2.0.
This discussion is closed to further replies. Keep calm and carry on.