OdooWiki OCA HUB

Website Snippet Dynamic Link

website_snippet_dynamic_link folder_open OCA/website open_in_new
Website License: AGPL-3

On website configuration, Odoo allows to setup a URL for some of the biggest social media platforms (e.g.: Facebook, Twitter, Youtube). Those URLs are used to provide a target for the respective social media platforms' icons on the website. This behaviour causes two kind of issues:

  • The social media icons are displayed wether a URL for that website is provided or not, resulting in some empty link.
  • The functionality is limited to a predefined set of social media platforms.

This module introduces a new model "website.dynamic.link" which is meant to provide the user a method to define all the external links (social media, web pages, mail shortcuts, etc.) its websites are connected to, and, for each of them, what's the URL that should be open.

Finally, this module introduces a "Dynamic Lynk" snippet to the Website building blocks. This block will automatically be filled with all the links defined for the website it is in.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you manage a list of external links (social media, web pages, mail shortcuts) with a logo and URL per website, and add a "Dynamic Link" website building block that automatically displays them.

This module gives you a central place to store the external links your website points to, instead of relying only on the predefined social media fields.

  • Under Website configuration you get a new "Dynamic Links" menu where you create entries. Each entry has a name, a URL, an optional website, and a logo image (required). Entries can be archived (active flag).
  • A new "Dynamic Link" snippet is added to the website builder blocks, next to the share snippet. When placed on a page, it automatically fills with all dynamic links that either belong to the current website or have no website assigned. If none exist, it shows "No Dynamic Link to Show".
  • Each displayed item is a clickable logo opening the stored URL in a new tab.
  • In the website editor you can adjust the snippet: title position (top, left, none), image shape (rounded, circle, shadow, thumbnail) and image size (1x to 5x).
  • The snippet works on the frontend and refreshes automatically when the page is loaded.

The module adds the website.dynamic.link model with tree, form and search views, and touches the website configuration menu and the website snippet options.

Depends on

websiteweb_editor

Menus it adds

Dynamic Links
Models and fields (1)
  • website.dynamic.link · new modelurl, icon (Logo), name, active, website_id

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 15.0

To create or edit a Dynamic Link record:

  • Go to "Website" -> "Configuration" -> "Dynamic Links";
  • Create a new record or select an existing one;
  • Enter a name for the link, a complete URL (including protocol) and the website on which you want to display it.
  • Select a logo image. Prefer vector images.

To use the new snippet:

  • Go to any page in your website;
  • Click "Edit" to enter edit mode;
  • Go to the "Blocks" sidebar, at the "Inner Content" section;
  • Drag and Drop the "Dynamic Link" block anywhere in your page;

The block comes pre-filled with one element for each dynamic link record you defined for the current website. Each element is displayed using the image you selected, has a tooltip which will contain the name of the link and, when clicked, it will open (in a new page) the URL you set.

You can customize the style of the whole block in the Options tab. More precisely, you can set the size of the icons and their style choosing among the options provided.

Please, notice that this block is rendered each time your page is loaded and for this reason it will immediately adapt to changes in your back-end settings. For example, you won't need to edit the page each time you add, edit or remove a dynamic link record. But this also mean that you cannot customize the content of this block from website builder mode.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.