Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Add link to image in text-modular

Started by Muut Archive 11 years ago · 1 replies · 489 views
11 years ago

Hi!

Is there a way to add a link to the image, that is automatically inserted in the text-modular ("Page Media (first one will be displayed next to your content)"?

I guess there`s something to do in the text.html.twig ... ?

11 years ago

Yes you would need to change the templates/modular/text.html.twig file and put in some logic for a link in there.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2900 9 years ago
Archive · by Muut Archive, 9 years ago
2 1891 9 years ago
Archive · by Muut Archive, 9 years ago
2 5222 9 years ago
Archive · by Muut Archive, 9 years ago
1 4046 9 years ago
Archive · by Muut Archive, 9 years ago
3 1978 9 years ago