Allow to reach a concrete section in the page
Project description
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:
Edit any web page.
Go to Add blocks > Structure.
Insert any block in your page.
Click on the snippet’s option Customize > Choose anchor.
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:
Edit any web page.
Select some text.
Press Link in the editor toolbar.
Choose a page in the opened dialog.
Set an anchor there too (without # symbol).
Press Save.
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
Rafael Blasco <rafael.blasco@tecnativa.com>
Jairo Llopis <jairo.llopis@tecnativa.com>
Dennis Sluijk <d.sluijk@onestein.nl>
Do not contact contributors directly about support or help with technical issues.
Maintainer
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
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 Distributions
Built Distribution
File details
Details for the file odoo11_addon_website_snippet_anchor-11.0.1.0.0.99.dev1-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_website_snippet_anchor-11.0.1.0.0.99.dev1-py2.py3-none-any.whl
- Upload date:
- Size: 76.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c717310d06ee87e375bcf0a55f68fe6187da2df434ffe74dad5f7922f559efd5 |
|
MD5 | a97f5cb477458ddb6c0406e0f5fabfff |
|
BLAKE2b-256 | 725ce7ef50158479cecf3194643b8901bb4896a7f6fd40a9c6e7d0449cab7756 |