A diff against trunk? Since all of the customization I am attempting
to perform is held within my own customization product that does not
make much sense to me. The customizations I have done within my own
product have been listed already, but are pasted below for completeness.
From browser/configure.zcml in my product:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="neo.types">
<include package="plone.app.contentmenu" />
<browser:page
for="quills.core.interfaces.IWeblog"
name="test_view"
template="guestblog.pt"
class=".guestblog.GuestBlogView"
permission="zope2.View"
allowed_interface="quills.core.browser.interfaces.IWeblogView"
/>
<browser:menuItem
for="quills.core.interfaces.IWeblog"
menu="plone_displayviews"
title="Test view"
action="test_view"
description="test view"
/>
</configure>
Apart from this I have also added test_view to "Available View
Methods" for Weblog objects within portal_types. I did this manually
from within the ZMI.
I have attempted not to modify the Quills product to do this
customization (and if I understand Aspeli's bok I shouldn't have to,
but should rather be able to customize views from within my own
product). The only slight modification I have performed to Quills
(upon your suggestion in an earlier email) is to remove the
defaultView declaration from quills.app/quills/app/browser/
configure.zcml. However, the only result of this was as stated
previously, that the default view of Quills weblogs disappears. The
display menu is still pinned down to a couple of default options and
my additional views are not added.
Customizing views for built-in Plone types such as Pages using the
method described above works. Customizing views for my own custom
types using the same method works. Customizing views for Quills Weblog
objects does not work (at least for me). If anyone could try and
verify wether this observation is correct, that would be great. There
is still the off-chance that I am missing something completely
trivial, but after spending so much time on this I rather doubt it by
now :-)
Best regards,
Karl Bengtsson
_______________________________________________
quills-dev mailing list
[email protected]
http://lists.etria.com/cgi-bin/mailman/listinfo/quills-dev