override function install() in custom BlockController
Permalink
Hi C5s
I try to override the install() function in my custom Block to add a FileAttributeKey with the installation. But after the installation process from within the Dashboard the Block is still available for installation there (not installed). Any ideas?
I'm using this code at the moment inside my custom BlockController:
I try to override the install() function in my custom Block to add a FileAttributeKey with the installation. But after the installation process from within the Dashboard the Block is still available for installation there (not installed). Any ideas?
I'm using this code at the moment inside my custom BlockController:
public function install($path) { parent::install($path); }
I have forgotten the return value.
By the way ... there is a nice Concrete5 API available by
Michael Krasnow, thank's to him:
http://docs.mnkras.com/