Help - better banner/slider for Plone 5.2?

hi guys,
I tried to install collective.behavior.banner as Bauer wrote in
32. Using Third-Party Behaviors – Mastering Plone 5 development — Plone Training 2023 documentation,

but after running bin/buildout -vv it requries,
i added to buildout.cfg
the bin/buildout -vv gave info:

# Required by:
Products.Archetypes = 1.16.5

i dont know why in my Plone 5.2 need this Products.Archetypes?
when running bin/client fg i got error:

eggs/Products.Archetypes-1.16.5-py3.8.egg/Products/Archetypes/", line 2, in <module>
    import bbb
ModuleNotFoundError: No module named 'bbb'

and no way i can surpass this error.

Please could you give any advice or better banner/slider system for Plone 5.2?
Many thanks for your time.

here is my buildout.cfg:

extends =
eggs =
    # added after collective.behavior.banner requires
collective.behavior.banner = git rev=84abbfd = git rev=297520a
auto-checkout =


  1. Instead of using a source checkout with a fixed revision of collective.behavior.banner better use a release. You are depending on a quite old version/revision of this package, but the current released one should be able to run with Plone 5.2. Just remove collective.behavior.banner from [sources] and auto-checkout. You might add it to the [versions] section to make sure a specific version is picked.

  2. Remove the source definition. It is not checked out anyways (the entry in auto-checkout is missing) and should not be necessary.

The buildout file would look like:

extends =

eggs =

collective.behavior.banner = 2.0

Then re-run buildout.

But I don't see that this would solve the problem when checking the revision of your checkout GitHub - collective/collective.behavior.banner at 84abbfd6a1afd617bf6235f66796d6ff1a6c15c0
The dependencies in look OK.

But give this a try. You got this error after adding collective.behavior.banner, so there is a good chance that this solves it.

Btw, @pbauer just released version 2.0 a few minutes ago :smiley:

Thank you @thet for your help, your time!
it worked!

it needs a little change in
nano eggs/collective.behavior.banner-2.0-py3.8.egg/collective/behavior/banner/browser/

thank you and @pbauer !!!

1 Like