Detecting where a block is placed

Re: Detecting where a block is placed

av Mav Mav -
Antall svar: 0

Figured this out, you can tell from inside the block by using...

$this->instance->region

Which gives a string that can be used to determine where the block is currently located.