Skip to content

Latest commit

 

History

History

website_snippet_anchor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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 http://www.antiun.com/#anchor-name.

Usage

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

  • Edit any web page.
  • Go to Insert blocks > Structure.
  • Insert any block in your page.
  • Click on the snippet's option Customize > Set anchor.
  • Set an anchor. If it is already used, 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.
  • 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 smashing it by providing a detailed and welcomed feedback <https://github.com/OCA/ website/issues/new?body=module:%20 website_snippet_anchor%0Aversion:%20 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

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 http://odoo-community.org.