Toutes les collections
Newsletter
Variables
[Tutorial]: Add a link dynamically on an article
[Tutorial]: Add a link dynamically on an article

Add a link to read the article dynamically thanks to the system of variables

Benjamin Carro avatar
Écrit par Benjamin Carro
Updated over a week ago

If you want to dynamically add a link to an article via a link on a button, e.g. "Read article" proceed as follows:

Attention ⚠️ :
Before you start make sure you have created an article block, otherwise the dynamic link will not work.

We are going to reproduce on the article in position one (on the picture above), the "Read article" button present on the articles in position two and three.

  1. Choose the block on which to integrate the button, by passing the cursor over the block it should be highlighted in purple. Click on it to edit it

2. Then add the text as in the example below

3. After formatting the future button, select the text and then click on the add link button. We can see that the metadata: {{metadata.mediegoLink}} is preformatted. Click "Save" to validate the addition of the link.

4. Save changes to the template

Avez-vous trouvé la réponse à votre question ?