Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Add-ons
  • Creating & Repurposing Content
  • Ditto
  •  
  • <
  • 1
  • 2
  • 3
  • ...
  • 10
  • 11
  • >
  • Support/Comments for Ditto#

  • 18397
    3,250
    Documentation TRAC (Bugtracker) Forum How to get help
    User Wiki Credits SVN Server Ditto HQ
    Stable Download Development Download

    MARKSVIRTUALDESK Reply #1, 5 years, 11 months ago

    Reply
    • Link to this post#1
    Ditto has a dedicated sub-forum. Please create a new topic there. This topic is now locked.
    This is an auto-generated support/comment thread for Ditto.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Ditto 1.0.1: the nimbler, faster, better-named and even more flexible offspring of NewsListing.

    Documentation:
    http://modxcms.com/ditto_documentation.html


  • 22815
    1,097
    - MODx's midnight runner
    No, I don't know what OpenGeek's saying half the time either.
    MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
    Forum: Where to post threads about add-ons | Forum Rules
    Like MODx? donate (and/or share your resources)
    Like me? See my Amazon wishlist
    MODx "Most Promising CMS" - so appropriate!

    PaulGregory Reply #2, 5 years, 10 months ago

    Reply
    • Link to this post#2
    Welcome to the new official thread.

    If you have a question about Ditto, it may have already been answered. As well as this thread, please read the following threads:

    Pre-Repository Ditto 1.01 Thread Ditto 1.0 Thread
    and also look in
    Modules, Plugins & Snippets » News, Blogs & Articles
    as well as trying the search facility.

    Some older issues may be in threads about Ditto's fore-runner, NewsListing.


  • 16610
    609
    QuickManager+ official project page

    Mikko Lammi, Owner at Maagit

    Lammikko Reply #3, 5 years, 10 months ago

    Reply
    • Link to this post#3
    Bugs?

    - There is something odd going on with &truncLen parameter and
    -tags in documents. If you have a document with plenty of
    -tags the document wont truncate at all.

    Solution, I think...
    ditto.class.inc.php:
    line 252 should be +3 and line 257 should be -2

    After that correction everything seems to be fine again.

    - &archiveText parameter is not working, correction to line 96 on Ditto snippet (capital T -letters).

    - &total parameter is missing from documentation. Parameter still works.


  • 18397
    3,250
    Documentation TRAC (Bugtracker) Forum How to get help
    User Wiki Credits SVN Server Ditto HQ
    Stable Download Development Download

    MARKSVIRTUALDESK Reply #4, 5 years, 10 months ago

    Reply
    • Link to this post#4
    Thank you for finding the archiveText typo. This has now been fixed in my development code. The other bugs you mentioned have already been reported in the main Ditto topic and have been fixed for the next release.


  • 29988
    89
    We do Internet merketing, SEO, optimalizace pro vyhled

    tillda Reply #5, 5 years, 10 months ago

    Reply
    • Link to this post#5
    I had troubles running Ditto Version: 1.0.2, there is:

    if (count($resource) < 1) { return $emptyText."\n"; }

    but this count() returns 1 of $resource is false, so I've changed it to:

    if ((count($resource) < 1) || (!$resource)) { return $emptyText."\n"; }

    I'm running PHP 5.x (5.1.2 afaik), so there may have been some minor changes...


  • 18397
    3,250
    Documentation TRAC (Bugtracker) Forum How to get help
    User Wiki Credits SVN Server Ditto HQ
    Stable Download Development Download

    MARKSVIRTUALDESK Reply #6, 5 years, 10 months ago

    Reply
    • Link to this post#6
    Thanks, this change has been checked into Ditto's SVN. (public assess soon!)


  • 36747
    138
    patagonia, argentina

    ecastano Reply #7, 5 years, 10 months ago

    Reply
    • Link to this post#7
    So Ditto 1.0.2 is buggy?

    cheers
    eemi


  • 18397
    3,250
    Documentation TRAC (Bugtracker) Forum How to get help
    User Wiki Credits SVN Server Ditto HQ
    Stable Download Development Download

    MARKSVIRTUALDESK Reply #8, 5 years, 10 months ago

    Reply
    • Link to this post#8
    There is only 1 known bug (minor) in Ditto 1.0.2. How does this constitute buggy?


  • 7923
    4,183


    "He can have a lollipop any time he wants to. That's what it means to be a programmer."

    doze Reply #9, 5 years, 10 months ago

    Reply
    • Link to this post#9
    Is it possible to define what fields should be in the JSON output from documents? I'd like to do a GoogleMap snippet that would use Ditto's json output for feed to pin the map, but I need more of the document fields to be in the output. Didnt try it yet, but I peeked at the code and saw only title, description and summary/content fields coming to the json output. Would it be possible for example to define additional tv fields to have in the output, or some of the document fields, like menutitle and longtitle? and maybe both summary and content fields?


  • 22302
    42
    Benoit Deziel

    openfire3 Reply #10, 5 years, 10 months ago

    Reply
    • Link to this post#10
    I get this error:
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	Invalid argument supplied for foreach()	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/home/.fenimore/hunder/benoitdeziel/assets/snippets/ditto/ditto.class.inc.php	 
      Line: 	84	 
      Line 84 source: 	foreach ($modx->documentMap as $mapEntry) {
    


    when installing the new Ditto.

    I went back with the older one but I get the same error. I was working before.


  • <
  • 1
  • 2
  • 3
  • ...
  • 10
  • 11
  • >



Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
Braininator, Lammikko, MARKSVIRTUALDESK, Marschant, PaulGregory, arphaus, chunkyRice, doze, ecastano, openfire3, opengeek, perlmonger, rethrash, simon79, sottwell, sparselogic, staed, steveua, tillda, ur001, xyzvisual, yehosef

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy