I am trying to add a Custom HTML: Block into Aardvark - so I can format it differently using CSS. CSS is present. #topleftblock
I've created one called 'topleftblock'
On frontpage I've added:
'frontpage' => array(
'file' => 'frontpage.php',
'regions' => array('side-pre','search','topleftblock','homeblock'),
'defaultregion' => 'side-pre',
),
And just where do I add
<div class="region-content"><div id="topleftblock">
<?php echo $OUTPUT->blocks_for_region('topleftblock') ?>
</div>
because I've tried adding it in different places and it isn't working.
CSS for the record is
#leftlinks {
background: #000;
width: 250px;
height: 250px;
float: left;
margin-right: 20px;
margin-top: -13px;
}
I know the CSS will need working on - but can't see any reason why I can't select the block.
If there is another "easier" way to go about this - please let me know!