We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7113
    • 27 Posts
    In MODx Revolution

    how do i display adrticles/documents ?

    Say i want to display the title of a document that links to it

    Or i want to display the summary/intro text for that article with a "read more" link to it, how do i achieve that?
    I saw this somewhere but canot recall.

    Also, are there snippets of code (or whatever you call them) that one can use and simply change parameters e.g. document id, to output such information?

    I come from a Joomla background and i’m used to modules where you simply install and specify the document ID or category(container) ID from which to pull items to display, as well as selecting other parameters, so some bit of guidance would be appreciated as i know in MODx such interfaces don’t exist.

      • 8609
      • 607 Posts
      einsteinsboi Reply #2, 16 years ago
      If using Revolution, the snippet you’re after is getResources

      RTFM: http://rtfm.modx.com/display/ADDON/getResources
        • 7113
        • 27 Posts
        Thanks