We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4786
    • 17 Posts
    Hi,
    This is probably fairly obvious.

    Using the sample install site, I want to display the following in the "Just a pretend, older post" page (18)..

    Page author
    Date published
    Tags

    e.g.
    Author: Bertie Bloggs, Date: 21 March 2010
    Tags: test mod development

    What is the syntax for this please? Some or all of this may be Ditto.

    Thanks!
    Mark.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      What is displayed by the actual individual blog page itself has nothing to do with Ditto. Ditto merely gathers up (aggregates) the blog pages and generates a list of them; while the summary blocks it creates for each item are taken from the individual documents, it has nothing to do with what is in those documents to begin with.

      For the document itself to display that content, you’ll need snippets to process the raw data to viewable format. You can use phx as well for some of these http://wiki.modxcms.com/index.php/PHx.

      [*createdby:userinfo=`fullname`*]
      [*pub_date:date=`%a %B %d, %Y at %H:%M`*]
        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
        • 4786
        • 17 Posts
        Thanks Susan. Looks a bit code heavy for me but since I have posted I have found this...

        http://modxcms.com/forums/index.php/topic,28691.0.html

        which appears to answer the same question.

        Mark.