i created couple of custom plone types (by mostly sub-classing them
from plone.app.content.container Container class).
Now it all works but if I navigate to
http://localhost:8080/my_instance/my_custom_type/@@manage-portlets
I get "that page doesn't exist" error.
Can you tell me what do I have to do in order to enable managing of
portlets in my custom types? They do even get displayed if I enable
them in the parent folder.
thx and cheers, D.
--
MSc. Dejan Pangercic
PhD Student/Researcher
Computer Science IX
Technische Universität München
Telephone: +49 (89) 289-17780
E-Mail: dejan.p...@in.tum.de
WWW: http://ias.cs.tum.edu/people/pangercic
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Plone-Users mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
That's really strange.
Have you declared any interfaces for your custom type?
manage-portlets is assigned for
"plone.portlets.interfaces.ILocalPortletAssignable"
which is "subclassed" from attribute annotatable.
Quote from plone.portlets.interfaces.py
class ILocalPortletAssignable(IAttributeAnnotatable):
"""Marker interface for content objects that want to have local portlet
assignments.
"""
Does that help?
Raphael
>
> Can you tell me what do I have to do in order to enable managing of
> portlets in my custom types? They do even get displayed if I enable
> them in the parent folder.
>
> thx and cheers, D.
>
enable catching oh NotFound in error_log to see traceback.
http://plonemanual.twinapex.fi/troubleshooting/notfound.html
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first