How to get block data?

Permalink
I'm currently working on a theme template. For example I have an "article" template, and within that template I need to access the data of the block "volume".

I know that I can get lots of the collection data with:
$pobj = Page::getCurrentPage();


But my block's data doesn't appear in that $pobj. How do I get the volume?

 
kirkroberts replied on at Permalink Reply
kirkroberts
It seems a bit backwards for your theme to have a need to access data within a block.
However, each Area has some knowledge of the blocks it contains, so that's the direction to head in.http://www.concrete5.org/documentation/developers/pages/areas...

You might want to look at code in packages that access page areas, like the Global Areas block:http://www.concrete5.org/marketplace/addons/global-areas/...

Good luck!