We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    Here is another beta for 1.0.3.

    IMPORTANT: You need to remove the <?php from the first line of the snippet to work.

    These are the changes, some major, some minor:

    added json custom fields ?default json fields changed
    added new tags placeholder for tags with url links for tag index’s complete with tagDocumentID parameter
    improved debug output
    added JSON placeholders json_summary and json_content that are slashed.
    improved hiddenTVs detection
    added notvs, noTags and debug_header language keys
    format now autoconverts to lowercase
    Added logEvent and version information
    Allow more characters in startID so [*id*] can be used again.
    JSON newlines fixed
      • 7923
      • 4,213 Posts
      Ok, finally the json data evals nicely.. but is it possible to define TVs in the json custom fields? also, I would really like to be able to define the fields where addslashes would be used, and not just hardcoded to json summary and content. For example, currently I use html as output, because I can then use tv’s in the chunk (what ultimately outputs javascript) and I’d like to have addslashes in all fields and tvs.

      Great updates so far!


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 7455
        • 2,204 Posts
        I have a question is it posible to create a link option that could hold an image or someting like that?

        now as I understand corectly you can only use [+link+] that generates a complete link including the text, I like it the way FileDownload handles the link like this: <a href="[+link+]">Download</a> so it only creates the path without the link itself taht way you can use anything for a link not only text.

        but maybe I am wrong and is it posible with Ditto

        Greets Dimmy

        [edit]
        Solved it

        this also works, I love Ditto!!

        &truncText=`<img src="image.gif">`

        Thanks Mark for all the hard work.

        (Random option would still be nice smiley )


          follow me on twitter: @dimmy01
          • 18397
          • 3,250 Posts
          The 1.0.3 release has been canceled as a 1.1 release which implements these same changes in a more efficient way is coming soon.

          This discussion is closed to further replies. Keep calm and carry on.