4teamwork / ftw.inflator

Plone site setup wizard with content creation and bundle system for predefined configurations.
3 stars 6 forks source link

The button mentioned in the documentation not showing up #5

Closed pigeonflight closed 11 years ago

pigeonflight commented 11 years ago

It took some digging through the code for me to discover the @@inflate view. The documentation mentions "an additional button for installing", I never found it. Instead I had to append @@inflate to the end of my Plone Site URL.

jone commented 11 years ago

The additional button is at the manage_main view: Bildschirmfoto 2013-03-16 um 23 44 45

The default Plone add view is still there, for example when you have no bundles defined you can still create Plone sites with the default view..


The default root-view is also patched so that it points to @@inflate:

Bildschirmfoto 2013-03-16 um 23 49 43


The "product name" is "Plone" by default, therefore it says "Install Plone" - but this can be customized with ZCML..

Do you see those buttons or are they missing? Which Plone version do you use?

pigeonflight commented 11 years ago

My buildouts are based on https://github.com/pigeonflight/stack-python-plone which uses the buildout.bootstrap extension. I think this is overriding your overrides.

jone commented 11 years ago

Probably its a load-order problem. The ftw.inflator package patches the ZMI which is previously patched by Products.CMFPlone. If the inflator is loaded before CMFPlone this might not work well.

Could you try my branch jone-load-order? I've moved the patches and included Products.CMFPlone before applying them - I'm not sure if it works though since it worked for me before too :wink:

jone commented 11 years ago

@pigeonflight I've just released a ftw.inflator 1.1.2 with a fix included resolving this issue. Feedback appreciated :wink: