Accessing page attributes from BlockController
Permalink
Hi,
I could not find a way to access page attributes from the block controller. Is there some way to do it?
I could not find a way to access page attributes from the block controller. Is there some way to do it?
I believe you can get a lot of page attributes while not in the view IE to keep your view truly a view using the on_page_view method from a block controller.
I'm not able to test this right now but does the on_page_view method get called when I edit or add a block? I guess not but it is just a guess... sorry about that.