Skip to main content
License: AGPL-3

Set Snippet’s Anchor

This module extends the functionality of the website editor to support setting an anchor to any section of your web page and allow you to link to them very easily.

Anchors are just the HTML id attribute, which is commonly used to add it to any URL and get directly to the element with that anchor, in the form of https://www.tecnativa.com/#anchor-name.

Usage

Valid character ranges for anchors are: [A-Z][a-z][0-9]_-

To add an anchor to any element, you need to:

  1. Edit any web page.

  2. Go to Add blocks > Structure.

  3. Insert any block in your page.

  4. Click on the snippet’s option Customize > Choose anchor.

  5. Set an anchor. If it is already used or has an invalid format, you will be asked to use another.

To link to any page’s anchor, you need to:

  1. Edit any web page.

  2. Select some text.

  3. Press Link in the editor toolbar.

  4. Choose a page in the opened dialog.

  5. Set an anchor there too (without # symbol).

  6. Press Save.

Try me on Runbot

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 smash it by providing detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

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

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo11-addon-website-snippet-anchor 11.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo11-addon-website-snippet-anchor 11.0.1.0.0
File Interpreter ABI Platform
odoo11_addon_website_snippet_anchor-11.0.1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / odoo11_addon_website_snippet_anchor-11.0.1.0.0-py2.py3-none-any.whl

Download URL odoo11_addon_website_snippet_anchor-11.0.1.0.0-py2.py3-none-any.whl
Size 74.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7e4551c974b4a12951ede5841876bfb33121cdb7d7901c33cf34ae1b6fe3848d
BLAKE2b-256 checksum
How to use checksums
1d8823e8cf8acc6b593e0ce3130bfb11cc7ccbd574c93e02b011bb7a950a478a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page