Skip to main content

Provides possibility to define icons/images for menus. These can be then rendered in a custom theme. It also brings back option for opening new window.

Project description

Beta License: AGPL-3 OCA/website Translate me on Weblate Try me on Runbot

This module allows to assign image or icon to individual website menu entries and also provides option to set the flag to open menu in new window from menu editing.

Table of contents

Configuration

Go to each Website, click Edit and click on menu item. The confirmation will ask you to choose whether to go to that link or edit the menu. If you select Edit the menu the enhanced menu editor will appear.

https://raw.githubusercontent.com/OCA/website/13.0/website_menu_icon/static/description/edit_menu.png

For each menu item it shows preview of icon/image (if any was selected). It also adds badge to those items that are to be opened in new window.

If you click the Edit Menu Item button enhanced menu item editing dialog.

https://raw.githubusercontent.com/OCA/website/13.0/website_menu_icon/static/description/edit_item.png

Clicking on search icon will bring up Select a Media dialog that will allow for selecting either image or font awesome icon.

Sample website.submenu template is included to show how to render the website menu. Rendering icons can be turned off in Customize menu.

https://raw.githubusercontent.com/OCA/website/13.0/website_menu_icon/static/description/menu_sample.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Radovan Skolnik

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/website project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo13_addon_website_menu_icon-13.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_website_menu_icon-13.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48efce87da321de5c5bf0880a92eb94df40a1802231a4087c64d1c9062d46cca
MD5 342b0216db63e7337f3e866c3f92179b
BLAKE2b-256 1442f8dfa7255ab7c28432a52c0f64c068ffb1cca9e1f6f59b0051ef757491cf

See more details on using hashes here.

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