content blocks won't work

Permalink
Hi, I followed your tutorial about how to convert a HTML file into a Concrete5 Template.But my content blocks do not work. I am using the code you suggested, e.g.
<?php
$a = new Area('HomeBanner');
$a->setBlockLimit(1);
$a->display($c);
?>

But the areas do not display. What am I doing wrong please?

 
12345j replied on at Permalink Reply
12345j
$a->display($c);
should be before setBlockLimit