Skip to main content

Plone's content menu implementation

Project description

Introduction

plone.app.contentmenu contains the logic that powers Plone’s content menu (the green one with the drop-down menus).

Changelog

2.0.2 - 2011-01-03

  • Depend on Products.CMFPlone instead of Plone. [elro]

  • Add test coverage for factory expression context when a front-page object is used for a folder. Fix in plone.app.content. [rossp]

  • Fix the addContext in the FactoriesSubMenuItem to make it possible to add content to a folderish object that set as the default view on its parent folder. This closes http://dev.plone.org/plone/ticket/10953. [WouterVH]

2.0.1 - 2010-07-18

  • Update license to GPL version 2 only. [hannosch]

2.0 - 2010-07-01

2.0b3 - 2010-06-13

  • Added optional compatibility with zope.browsermenu. [hannosch]

2.0b2 - 2010-02-17

  • Show “add new” menu when there are one or more addable types. Showing a link when only one type was addable caused conflicts with the dropdown JavaScript. Closes http://dev.plone.org/plone/ticket/10193. [esteele, davisagli]

  • Query the types tool instead of the action tools to find add actions in FactoriesSubMenuItem. This fixes a discrepancy in action URLs. http://dev.plone.org/plone/ticket/10207 [wichert]

2.0b1 - 2010-01-24

  • Removed the checking for hideChildren when a single item is present, this makes the styling consistent again. The menu is really a one-item menu, and we put it in the header as a shortcut that you can click directly. This fixes http://dev.plone.org/plone/ticket/9735 [limi]

2.0a2 - 2009-12-27

  • Adjust factory menu to use the new getIconExprObject method. [hannosch]

  • Removed no longer required zope.site dependency. [hannosch]

  • Hide the actions, display and workflow menus on the folder contents page. This closes http://dev.plone.org/plone/ticket/8908. [hannosch]

  • Avoid a bogus getToolByName indirection via getSite(). [hannosch]

  • Noted missing zope.publisher dependency and prefer absolute imports. [hannosch]

  • Mark selected display always with ‘actionMenuSelected’ class and stop using bullet points. References http://dev.plone.org/plone/ticket/9894 [dukebody]

2.0a1 - 2009-11-14

  • Specified package dependencies and assorted cleanups. [hannosch]

  • Avoid a deprecation warning for calling the actions method from the context_state state view without passing in an action category. [hannosch]

  • Updated action and icon handling in the actions menu to take advantage of the icon being stored on the action itself. [hannosch]

  • Added support for the new add_view_expr property available on FTIs. This can be used to construct a URL for add views. [optilude]

1.1.7 - 2009-03-07

1.1.6 2008-10-07

1.1.5 2008-08-18

  • Add a span with a “noMenuAction” class around disable menus, allowing them to be styled. [wichert]

1.1.3

  • Adjusted tests to reflect new behavior introduced by the last change. [hannosch]

  • Do not show the display menu if it is disabled (i.e. there is an index_html item in the folder). The previous behavior was confusing for users: the description with the hint to remove the index_html object was never shown and users only got a unusable menu item. The new behavior makes the display menu consistent with other parts of the Plone UI. [wichert]

  • Add an actionMenuSelected class to selected menu items so they can be styled (same class as used in Plone 2.5). Do not remove the <span> tag around the &bull; for selected items so it can be removed when proper CSS styling is used. [wichert]

1.0.7

  • Correct the content menu html: the icons in menus should have an empty alt-attribute since the alternative text if no image can be seen is the label of the menu item itself. Move the description to the title attribute so it still shows up as tooltip. [wichert]

  • Fixed an issue with non ISelectableBrowserDefault aware content. This closes http://dev.plone.org/plone/ticket/7226. [deo]

1.0.6

  • Fixed display menu to show the default page title correctly when the default-page is not a contained content item with DC metadata fields. Thanks to George Lee for finding this. [optilude]

1.0.5

  • Fixed display menu to show the default page title when not currently viewing it as well as the display of markup contained in translations. This fixes http://dev.plone.org/plone/ticket/7281. [witsch]

  • Removed loop that does nothing in plone.app.contentmenu.menu, in WorkflowMenu.getMenuItems(). [dreamcatcher]

1.0.3

1.0b1 - 2007-03-05

  • Initial package structure. [zopeskel]

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.app.contentmenu-2.0.2.zip (35.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page