Carry out the following steps:
As mentioned a few lines before, make sure the JQZoom block isn't installed in your site by removing it in the Block Types screen.
Create a new directory called
blocks
in our package directoryc5book
.Move the directory
blocks/jqzoom
topackages/c5book/blocks
.Open the package controller we created a few pages before, you can find it at
packages/c5book/controller.php
. The following snippet shows only a part of the controller, theinstall
method. The only thing you have to do is to insert the highlighted line:public function install() { $pkg = parent::install(); // install blocks BlockType::installBlockTypeFromPackage('jqzoom', $pkg); }
Save the file and go to your dashboard again. Click on Extend concrete5 and locate the
c5book
package. Click on Edit and then Uninstall Package if it's already installed and confirm the action on the next screen. Go back to the Extend concrete5 screen and reinstall...