Skip to main content

Allow to reach a concrete section in the page

Project description

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.

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 odoo11_addon_website_snippet_anchor-11.0.1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for odoo11_addon_website_snippet_anchor-11.0.1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e4551c974b4a12951ede5841876bfb33121cdb7d7901c33cf34ae1b6fe3848d
MD5 44d0280c4aaef03c2306249a615a8c1d
BLAKE2b-256 1d8823e8cf8acc6b593e0ce3130bfb11cc7ccbd574c93e02b011bb7a950a478a

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