产品扩展导航portlet? (也称为覆盖plone_control_panel导航设置)

时间:2012-05-25 14:43:52

标签: plone

我需要有两个导航portlet(在plone4中):

  • 一个“经典”(使用plone_control_panel /导航中定义的设置)

  • 另一个在navtree portlet instanced

  • 中定义类型的人

通知书?

维托

1 个答案:

答案 0 :(得分:1)

一些提示和想法。

将现有导航portlet代码复制粘贴到新的portlet。

然后,您需要调整其“导航树策略”,以便它仅收集您定义的内容类型

http://collective-docs.readthedocs.org/en/latest/misc/navigationtree.html#creating-a-custom-navigation-tree

如何创建z3c.form词汇表来挑选内容类型:

http://collective-docs.readthedocs.org/en/latest/functionality/controlpanel.html#content-type-choice-setting