Block Variables1 user found helpful
Does anyone know how i would get the name of the Block being called. I've got the Pagelist block in a page and i've created a custom template for it, i want to use the name of the block in the view of the block.
hope that makes sense.
Try adding this to your custom template view...
$block = block::getById($bID); echo $block->getBlockName();