Elements are small blocks of code that can be reused in different pages of a layout.
Elements need to be uploaded in /app/views/elements/ directory and have the .thtml extension.
By default elements haven't acces to any data, if you want to give it access to any data you have to send it as a parameter in an array.

Example without parameters:

PHP:
  1. <?php echo $this->renderElemet('element_name'); ?>

Example of calling an element with parameters:

PHP:
  1. <?php echo
  2. $this->renderElement('element_name', array("text" => "Here is text for example."));
  3. ?>

This pieces of code need to be inserted in your view.