- Install Powerbanners extension
- Configure extension settings
- Create your own text styles or use default
- Create new banner slider
You need to create at least one banner slider to start add new banners
- Add new banners to the slider
- Navigate to cms page or static block edit page and insert shortcode or widget.
To insert Powerbanners Slider Widget in CMS editor click “”Insert Widget”” icon or button. Select NWDthemes Powerbanners widget. In Widget Options select slider you want to insert and click Insert Widget button.
To create Powerbanners Slider Widget Instance go to CMS > Widget section page and push Add New Widget Instance button. Select NWDthemes Powerbanners widget type, choose design package/theme and click Continue. Fill Frontend Properties form giving widget instance name, assign store views and sort order. Click Add Layout Update button and select pages and block you want to display widget on. Switch to Widget Options tab and select slider for this widget instance. Click Save to update widget options.
For the XML layout use:
my_alias For the PHP code use:
getLayout()->createBlock('powerbanners/slider')->setAlias('my_alias')->toHtml(); ?>
Please note that my_alias is used for reference. You should change it to your slider alias.
- Check result on store frontend