We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Hello,

    i have this Ditto call:

    [!Ditto? &documents=`18, 25, 16, 24, 23, 27, 26` &extenders=`customsort` &tpl=`slideshowContent`!]


    in template:
    <p>[+content:notags:word_limit=`25`+]...<a href="[(site_url)][~[+id+]~]" title=" [+longtitle+] ">прочети</a></p>
    


    but in each doc (18, 25, 16, 24, 23, 27, 26) in top of content i have:
    [!AnythingRating? &define=`1` &atrGrp=`unss`!]


    and results from Ditto output is something like this:
    [!AnythingRating? &define=`1` &atrGrp=`unss`!] Университетът за национално и световно стопанство (УНСС) е най-голямото и най-старото висше икономическо училище в България и Югоизточна Европа, с 90-годишна история. УНСС води...прочети


    how can i remove snippet call in output?

    Thanks
      palma non sine pulvere
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I know that there is a &removeChunk parameter, so you could put the snippet call in a chunk, then specify the chunkname in the parameter.

      There is also &stripTags, but I think it requires the &extenders=`request` parameter as well.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 16702 ☆ A M B ☆
        • 536 Posts
        Quote from: sottwell at Apr 19, 2010, 05:34 AM

        I know that there is a &removeChunk parameter, so you could put the snippet call in a chunk, then specify the chunkname in the parameter.

        There is also &stripTags, but I think it requires the &extenders=`request` parameter as well.

        yep, &removeChunk is work fine, but is not "most inteligeten" solution...
        maybe &stripTags, now i have no time, but tomorrow.

        Thanks smiley
          palma non sine pulvere