graphitefriction / useful-content

Curated resources and references about content. Categories include: story arcs, bias, chunking, etc.
0 stars 0 forks source link

Chunks #24

Open WhiteShark5 opened 9 years ago

WhiteShark5 commented 9 years ago

http://rtfm.modx.com/revolution/2.x/making-sites-with-modx/structuring-your-site/chunks

Processing Chunks via API

WhiteShark5 commented 9 years ago

Author: Mike Reid Blog Post 07/23/2014

Chunks are bits of static text which you can reuse across your site, similar in function to include files or "blocks" in other content management systems. Common examples of Chunks might be your contact information or a copyright notice. Although Chunks cannot contain any logic directly, they can however contain calls to Snippets, which are executable bits of PHP code which produce dynamic output.

***Body of text includes codes for processing chunks via API