Add block (to top)
Permalink
Is there a way I can get blocks to appear at the top of an area rather than the bottom?
I'm aware you can move blocks once they have been added but I need the block to appear at the top as soon as it is added.
Cheers
PL
I'm aware you can move blocks once they have been added but I need the block to appear at the top as soon as it is added.
Cheers
PL
Can't believe this isn't possible/fudgable.
http://www.concrete5.org/community/features/defaults_positioning
There's no way to do this by setting an option for the area - or anything so simple as that (that I know of).
You could extend the Area class... something along these lines:
Hope that helps.
You could extend the Area class... something along these lines:
<? Class NewFirstArea extends Area { public function getAreaBlocksArray() { $blocks = parent::getAreaBlocksArray(); return array_reverse($blocks); } } ?>
Hope that helps.