最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

slick.js - How to attach a link to a Drupal slick slide paragraph using link from the image media? - Stack Overflow

programmeradmin0浏览0评论

I'm working on a Drupal 10 site where we have a entity reference paragraph used to include multiple types on paragraphs. One paragraph type is for slideshows rendered with Slick. These include images and captions, where some of the Media used for images include a link field.

I'm trying to attach these links to the slide image so the user can click the image and follow the link. I've tried preprocess_slick, preprocess_field and my image formatter. I've seen the link in the structure but it's never attached properly.

Will editing one of the theme preprocess functions work or am I going about this the wrong way?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论