Hello guys,
I’m developing a package which also installs a block. Package and block installation works fine. I can add the block by drag and drop to any page.
But whenever I try to edit the block, the information for the edit form is an empty array. I found out that the block ID (bID) in the block controller is NULL at this point. So when I execute a SELECT query on my btTable for the certain block, I just get an empty array since the block ID is just NULL.
I checked the doumentation which explains how to build a block controller. It says that you can access the block ID with $this->bID. But somehow this wouldn’t work.
Can anybody explain to me what is happening here and why bID is null at this point?
Block Controller - edit() method:
Greetings,
Patrick