[MODX] 2. Chunks $
Chunk in Modx can cut your template into samll pieces to make code reuseable.[[$chunk_name]]For example we can replace the html header with [[$html_he...
[MODx] 9. Real Example
Snippetcode:<?php$path=MODX_CORE_PATH.'components/storefinder/';$result=$modx->addPackage('storefinder',$path.'model/','modx_');$result=$modx-&g...