Concrete5 view.php

The view template for your block is much like your edit template, but even simpler. It prints out the current saved values for a block, along with any specific block presentation. For an HTML content block, this might just be printing out the exact $content variable of a block. For an autonav, it might involve parsing the settings saved and building a tree based on them. For an event you might be parsing saved dates into a calendar interface.

<?php echo $content?>

Tags: ,

About Keiron

Web Developer based in the UK. Click here if you want to work with me