We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44991
    • 13 Posts
    Can anyone help me in this? I want to show last update time and date of a particular document on home page?

    Is there any addon for this?

    Thanks.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Perhaps getResourceField?

      I just recently ran across fastField, a plugin that adds a tag to the MODx tags, [[#...]] for returning a resource field, among other things. It has a lot of optional properties, and would work just fine with the date output modifier - in the case where you want to show resource #42; you could use a TV or any other field to supply the resource ID:
      [[#42.editedon:date=`%M %j, %Y`]]
        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
        • 44991
        • 13 Posts
        Wow..! I think fastField is going to change my "TIME" smiley

        Thank you so much sottwell for your help..!
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          FastField is really interesting. You can use it to pick up an element's properties, and even GET and POST values.
            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