We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 606
    • 5 Posts
    Hello

    Modx is a great program and I absolutely love it laugh . However , even after going through the tutorials and Q &A in the forums, I am finding it difficult locating the snippets and codes needed when building my site. Is there one central location where all the codes are listed ?

    In addition, what snippet code do I used to include a summary of the most recent blog posts in my sidebar menu?

    Lastly, what is the difference between a snippet and a chunk? I have read the definition provided but I am still a little confused on how it is used in program.


    Thank You Very Much for Your Reply,

    Pat
      • 18397
      • 3,250 Posts
      There is a work in progress central listing here: http://modxcms.com/repository.html

      You would use NewsListing to include a summary of the most recent blog posts in your sidebar.

      Snippets are php bits that are executed where as chunks are html that is only displayed (they can contain snippet calls though)
        • 4095
        • 372 Posts
        At the top of the page there is a link to Resources. Or y ou can go to http://modxcms.com/repository.html
          [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
          Admin Sandbox Login: sandbox Password: castle