Customising the searchbox viewlet
TimSki
thingeley at netspeed.com.au
Sun Nov 4 07:53:15 UTC 2007
Thanks to Eric Brehault for pointing me in the right direction for a
solution.
I had originally built my product along zope 2 lines and didn't realise that
I needed to go down the zope 3 path with configure.zcml etc.
In fixing the problem however I found an issue with installation scripts.
My zope 2 style product had the standard Extensions/install.py script to
install it. When I added configure.zcml and referenced the
Products.GenericSetup.interfaces.EXTENSION interface it wouldn't process my
viewlets.xml file. After much experimenting I found that the presence of
Extensions/install.py was the problem. Once I removed this and made the
product a cleaner zope 3 style it installed OK.
Has anyone met this issue before. What concerns me is that I may need to
run install scripts for other parts of my product where they don't fit
neatly into configure.zcml tags.
Tim
--
View this message in context: http://www.nabble.com/Customising-the-searchbox-viewlet-tf4620878s20094.html#a13570761
Sent from the Product Developers mailing list archive at Nabble.com.
More information about the Product-Developers
mailing list