• [MODX] 2. Chunks $

    时间:2022-09-05 09:37:33

    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

    时间:2021-07-07 10:40:33

    Snippetcode:<?php$path=MODX_CORE_PATH.'components/storefinder/';$result=$modx->addPackage('storefinder',$path.'model/','modx_');$result=$modx-&g...