We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1511
    • 144 Posts
    I have a Ditto call like this
    [!Ditto? &parents=`64` &summarize=`all` &total=`100` &tpl=`tplSCNews` &paginate=`0` &alwaysshow=`1` &language=`english` &removeChunk=`comments,scNewsHeader,scNewsFooter`  &truncLen=`260` &truncOffset=`100` &dateFormat=`%d.%m.%y @ %H:%M` &sortBy=`publishedon` &extenders=`summary` !]


    Template tplSCNews looks like this
    <div class="post-summary">
      <div class="post-meta">
    
       [+phx:input=`[[getField? &docid=`[+id+]` &field=`publishedon`]]`:date=`%d.%m.%y @ %H:%M`+]
    
      </div>
    
       <h2><a href="[~[+id+]~]" title="[+pagetitle+]">[+pagetitle+]</a></h2>
      <div class="post-summary-text">
      [+summary+]
      </div>
      
      <span class="post-link">[+phx:if=`[+link+]`:isnot=``:then=`<div><a class="noback"  href="[~[+id+]~]" title="read whole news...">more »</a></div>`+]</span>
    </div>


    Content of one of the news document is
    {{scNewsHeader}}TEXT CONTENT{{scNewsFooter}}{{comments}}


    But when I list this with Ditto, some chunks are included, regardless of the &removeChunk parameter.
    I use Ditto2.0RC2 included with MODx 0.96-RC1.

    Namely, a chunk with Jot call gets included.
    Chunk {{comments}}
    [[Jot? &tplForm=`tplJotCommentForm` &sortby=`createdon:d` &numdir=`1` &tplNotifyModerator=`tplJotNotifyMod` &tplModerate=`tplJotModerate`  &tplNav=`tplJotNavigation` &tplComments=`tplJotLeaveMessageComments` &subscribe=`0` &canmoderate=`Moderator` &notify=`2` &canedit=`Editor` &captcha=`1` &customfields=`name,email` &validate=`email:E-mail not valid!:email,content:Enter comment!` &css=`0`  &output=`0` &placeholders=`1` ]]
    [+jot.html.moderate+]
    <h1>Comments</h1>
    [+jot.html.comments+]
    [+jot.html.navigation+]<br /!>
    [+jot.html.form+]


    Are the placeholders a problem?
      • 18397
      • 3,250 Posts
      Try upgrading to the latest SVN version of Ditto from the Ditto 2.0 RC2 thread