diff --git a/src/ContaoManagerPlugin.php b/src/ContaoManagerPlugin.php index a3f86c6..52458cc 100644 --- a/src/ContaoManagerPlugin.php +++ b/src/ContaoManagerPlugin.php @@ -2,10 +2,12 @@ namespace MadeYourDay\RockSolidSlider; +use Contao\CalendarBundle\ContaoCalendarBundle; use Contao\CoreBundle\ContaoCoreBundle; use Contao\ManagerPlugin\Bundle\BundlePluginInterface; use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; use Contao\ManagerPlugin\Bundle\Config\BundleConfig; +use Contao\NewsBundle\ContaoNewsBundle; class ContaoManagerPlugin implements BundlePluginInterface { @@ -17,6 +19,8 @@ public function getBundles(ParserInterface $parser) return [ BundleConfig::create(RockSolidSliderBundle::class) ->setLoadAfter([ContaoCoreBundle::class]) + ->setLoadAfter([ContaoNewsBundle::class]) + ->setLoadAfter([ContaoCalendarBundle::class]) ->setReplace(['rocksolid-slider']), ]; }