Thanks .
When i try to add block in the package i got this error
Class 'Concrete\Package\TestPackage\BlockType' not found
i added this
BlockType::installBlockTypeFromPackage('content', $pkg);
When i try to add block in the package i got this error
Class 'Concrete\Package\TestPackage\BlockType' not found
i added this
BlockType::installBlockTypeFromPackage('content', $pkg);
At the top you need to add
use BlockType;
Thanks..
after add use Blocktype;
i am getting this error
Class '\Concrete\Package\TestPackage\Block\Content\Controller' not found
after add use Blocktype;
i am getting this error
Class '\Concrete\Package\TestPackage\Block\Content\Controller' not found
Are you attempting to install a BlockType called Content that doesn't have a controller?
I recommend reviewing the documentation.
Bundling Code into Packages for Reuse and Marketplace Distribution
https://documentation.concrete5.org/developers/packages/overview...