- Issue created by @SirClickALot
- π¨π¦Canada jmdeleon
The download link produced by this module is a file_link element that should be themable with the following template, and have theme pre-process functions available to it:
https://api.drupal.org/api/drupal/core%21modules%21file%21templates%21fi...
- Status changed to Postponed: needs info
4 months ago 6:54am 4 March 2024 - π¬π§United Kingdom SirClickALot Somerset
Thanks Jose β ,
Good pointer, I'll give that a go in my theme but nonetheless, in terms site-builder-friendliness, I think my suggestion to allow classes on the link itself via the UI is still a sound one.
- Status changed to Closed: won't fix
4 months ago 7:23am 4 March 2024 - π¨π¦Canada jmdeleon
@SirClickalot: "I think my suggestion to allow classes on the link itself via the UI is still a sound one."
Respectfully, I don't agree. The focus on the custom theming support in this module is on the tables, and the availability of the download link is more of a convenience, and so any theming support is deferred to the functionality offered by the File entity.
- π¬π§United Kingdom SirClickALot Somerset
Ok, Thanks Jose β ,
Sound logic, I will re-style all file links across the site using the template.