We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a Widget via Content > Widgets
It doesn't pick up the identity in the _construct() and so just picks up the most recent banner ID.
To fix in Block/Widget/Slider.php
Change
protected function _construct()
to
public function getBannerSlider()
Add the following
protected function _construct() { parent::_construct(); }
To activate in magicslider.phtml
Add to the top of the file
<?php $block->getBannerSlider();
This then allows you to create widgets via the wysiwyg and also via Content > Widgets
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Creating a Widget via Content > Widgets
It doesn't pick up the identity in the _construct() and so just picks up the most recent banner ID.
To fix in Block/Widget/Slider.php
Change
protected function _construct()
to
public function getBannerSlider()
Add the following
To activate in magicslider.phtml
Add to the top of the file
<?php $block->getBannerSlider();
This then allows you to create widgets via the wysiwyg and also via Content > Widgets
The text was updated successfully, but these errors were encountered: