We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29076
    • 615 Posts
    How can I show the Summary (introtext) with Ditto (not some truncuated summary of the content?

    Title
    Long title
    Description
    Document’s alias
    Link Attributes
    Summary (introtext)


    Thanks.
      I think, thererfor I am! But what I am, and why...?
      • 32319
      • 129 Posts
      Use the [*introtext*] variable in your ditto template where you would like the summary to appear.
        "Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
        -- Sydney Harris
        • 17883
        • 1,039 Posts
        [+introtext+] wink
          • 32319
          • 129 Posts
          Oh, right:-)

          Thanks for the catch... rolleyes
            "Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
            -- Sydney Harris
            • 29076
            • 615 Posts
            Eh.....  I knew that...    rolleyes 

            No, I didn’t, but it was all in the documentation. I just had to find it.

            Thank you anyway. wink
              I think, thererfor I am! But what I am, and why...?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              That the field in the document editor calls it "Summary", while in the database the actual field name is "introtext", so that’s how it has to be processed in snippets and such, has long been an irritation. It was my idea to at least put (introtext) in the caption for that field when editing a document to try to help mitigate the confusion (well, actually, I kept forgetting what it was called and having to load up the database to take a look). But this is another legacy issue from the original code; I hope that eventually the difference will go away altogether.
                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