In this part of the dokumentation, I will show you how to install the package, how to use it and its default configurations and how to configure it for your own needs.
To install it via Buildout, just add it to your buildout.cfg to the eggs in the buildout part and to zcml in the instance part:
[buildout]
...
eggs =
inqbus.bannerrotation
[instance]
...
zcml =
inqbus.bannerrotation
After that, run buildout:
~$ bin/buildout
Finaly, just go to the portal_quickinstaller and install the package.
During the install process, an empty banners folder is created at your plones siteroot. If you want to use an other folder, instead of banners, just read how to configure the banner_source_id. As long as this folder is empty, you will see some dummy images. To change that: simply upload your images into the folder.
You can also use different pictures at different places of your site. To do this, just add an folder with the choosen source_folder_id`(Defaultvalue: banners)` into the place where you want to see other images. Every content at the same hierarchies level and all of there childs will see, based on acquisition, the images in the nearest banners folder. If you want to learn more about, how this is used, read on here.
To specify the portlet for your needs, you can change some of the properties in bannerrotation_properties. You are able to find those via ZMI at portal_properties