A mega drop down menu implementation using Products.Collage
Project description
Rough list of features
Plone implementation of a mega drop-down menu based on http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/.
Developed for Plone 3 and Plone 4.
Uses collective.collage.nested to support nested Collage objects.
Adds some actions in portal_actions/object_buttons:
Enable Megamenu: adds IMegamenuEnabled interface to current folder.
Current Megamenu: selects current folder as current megamenu (the one that will be displayed in plone.portalheader viewlet manager).
Disable Megamenu: removes IMegamenuEnabled interface to current folder.
Test Megamenu: shows a preview of the current megamenu-enabled folder as if it were the megamenu.
Collage layout-views for ATCTContent: menu and intro.
Collage renderer-views for Collage, Rows and Columns used inside the above layout-views. This is to provide cleaner HTML.
JavaScript and CSS resources to support megamenu. Special CSS for Plone classic theme (Plone 3 theme).
Native support for ATFolders (see atfolder.zcml) can be extended for other custom folder implementations.
Screenshots
Installation
- Add collective.collage.megamenu to the list of eggs to install and
extend to a known good set for plone.app.registry:
[buildout] ... extends = ... http://good-py.appspot.com/release/plone.app.registry/1.0b2 ... eggs = ... collective.collage.megamenu
Tell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance] recipe = plone.recipe.zope2instance ... zcml = collective.collage.megamenu
Re-run buildout, e.g. with:
$ ./bin/buildout
You can skip the ZCML slug if you are using Plone 3.3 or if you are going to explicitly include the package from another package’s configure.zcml file.
Plone 3 installation
After installing the product via portal_quickinstaller or Add-on products configlet go to portal_setup and import the Classic theme for collective.collage.megamenu profile, to give Megamenu a Plone 3 classic skin.
Credits
Based on Mega Drop Down Menus w/ CSS & jQuery implementation by Soh Tanaka.
Development
Marcos F. Romero <marcos.romero {at} inter-cultura {dot} com> (developer)
Juan Pablo Gimenez <jpg {at} rcom {dot} com {dot} ar> (advisor)
Translations
Spanish (es): Marcos F. Romero
English (en): Marcos F. Romero
Changelog
1.0 (2011-04-23)
Megamenu implementation with Collage
Native support for ATFolder
i18n support: English and Spanish translations
Tested in Plone 3.3.5 and Plone 4.0.3
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.collage.megamenu-1.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0676920d8f3d879809ba28b9759e21b29b481fa1ba2ce33a68f920b04431ad9c |
|
MD5 | ad944a06388a3a958cca522103dac885 |
|
BLAKE2b-256 | c640c61d6f81bd6494d72ddaa23db2e02769dc8891d55052957f8d6b65e30925 |