Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Application Candy - What is Chunk and how to use it?

zhlousekzhlousek New
edited August 2012 in Vanilla 2.0 - 2.8

Application work well.
One question.
What is "chunk" and how it is used?
Thanks
zhlousek

Comments

  • SS ✭✭
    edited August 2012

    Chunk is a piece of static html code in template.
    Example:

    <div class="StandaloneMovie">
    <?php 
    echo FlashObject($this->SwfMovie, array('width' => '100%', 'height' => '550',
    'wmode' => 'transparent'));
    ?>
    </div>
    <?php echo Chunk(5); // prints chunk #5 ?>
    

    It is not chunk in modx sense.

Sign In or Register to comment.