We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18830
    • 161 Posts
    I just find out that Ditto 2.0.1 is able to write tag lists. That´s great.

    But unfortunatly I can´t get it work. And that is bad.

    This ist my Ditto call

    [!Ditto? &summarize=`10`   &tpl=`artikel_nachrichten` &tagDelimiter=`,` &tag DisplayDelimiter=`, `  &dateSource=`pub_date` &tagData=`bereich` &tagDisplayMode=`2` &extenders=`tagging`  &sortDir=`DESC`  &dateFormat=`%d. %m. %Y` !]


    And here is the Ditto template:

    <h3><a href="[(base_url)][~[+id+]~]">[+longtitle+]</a></h3>
    <p class="datum">[+date+]</p>
    [+introtext:isnot=``:then=`<markdown>[+introtext+] <a href="[(base_url)][~[+id+]~]" title="[+longtitle+]">Beitrag lesen</a></markdown>`:else=`<markdown>[+content+]</markdown>`+]
    [+tagLinks+]


    The output is just

    tag1 tag2


    What am I doing wrong?
      • 18397
      • 3,250 Posts
      1. Make sure you are using the latest version of Ditto (2.0.2 stable or r1429 development version).
      2. Try this Ditto call:
      [!Ditto? &summarize=`10`   &tpl=`testing_template` &tagData=`bereich` &tagDelimiter=`,` &dateSource=`pub_date` &extenders=`tagging`  &sortDir=`DESC`  &dateFormat=`%d. %m. %Y` !]
      

      with this "testing_template" template:
      <a href="[+url+]" title="[+pagetitle+]">[+pagetitle+]</a> Tags: [+tagLinks+] <br /><br />
      

      Then copy and paste the output here
      3. Add back parameters until the call ceases to function as desired.
        • 18830
        • 161 Posts
        Thank you, Mark! Now everything works fine.