Block Install Issues
Permalink
Hey, we just upgraded our install of c5 to 5.2RC1; and am now trying to get some new blocks added.
My process:
1) Download block from Marketplace
2) Extract it
3) Copy to the "blocks" folder at the top level path
4) Go to Dashboard and go to "Add Functionality"
Then I am getting an error:
registerText) $this->registerText=t("Click here to register »"); } function view(){ $this->set('registerText', $this->registerText); $this->set('showRegisterLink', $this->showRegisterLink); $this->set('returnToSamePage', $this->returnToSamePage); } function save($data) { $args['registerText'] = isset($data['registerText']) ? trim($data['registerText']) : ''; $args['showRegisterLink'] = intval($data['showRegisterLink']); $args['returnToSamePage'] = intval($data['returnToSamePage']); parent::save($args); } } ?>
An unexpected error occurred.
LoginBlockController not found. Please check that the block controller file contains the correct class name.
What's going on?
My process:
1) Download block from Marketplace
2) Extract it
3) Copy to the "blocks" folder at the top level path
4) Go to Dashboard and go to "Add Functionality"
Then I am getting an error:
registerText) $this->registerText=t("Click here to register »"); } function view(){ $this->set('registerText', $this->registerText); $this->set('showRegisterLink', $this->showRegisterLink); $this->set('returnToSamePage', $this->returnToSamePage); } function save($data) { $args['registerText'] = isset($data['registerText']) ? trim($data['registerText']) : ''; $args['showRegisterLink'] = intval($data['showRegisterLink']); $args['returnToSamePage'] = intval($data['returnToSamePage']); parent::save($args); } } ?>
An unexpected error occurred.
LoginBlockController not found. Please check that the block controller file contains the correct class name.
What's going on?
We will try and do this at some point, but it may be difficult to do for all blocks/themes/apps in the marketplace.