example, i need to make an html/js/php sidebar, which can be edited independently of the page template. how?
thanks!
jealousy<>love
Chunks can also contain JS code (in <script> tags). Basically they can contain anything you’d put on a web page except PHP code (which goes in snippets). When MODX sees a chunk tag, it just replaces it with the content of the named chunk (after checking to make sure the chunk has no PHP code in it).