Feature #44182
closedFile links: Add registers for title text and alt text fields
100%
Description
The file link element offers a description, title text and alternative label text for each file. Currently, it is only possible to access the description via a register. It would be desirable to also provide registers for the alt and title text fields, e.g., to only link the description and provide more in-depth info in the other fields.
A patch adding the registers titleText and altText is included.
Files
Updated by Christian Hennecke about 12 years ago
- File patch.diff patch.diff added
Updated by Jigal van Hemert about 12 years ago
- Category changed from Content Rendering to TypoScript
- Status changed from New to Accepted
- Target version set to 6.1.0
- Complexity set to easy
Thanks for your patch. Can you push the change to Gerrit? More details about contributing: http://wiki.typo3.org/Contribution_Walkthrough_Tutorials (or ask in the mailing lists or ask the Friendly Ghost of the week).
Updated by Gerrit Code Review about 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17705
Updated by Alexander Opitz almost 12 years ago
Can you please add a TypoScript snippet that shows the functionality of this patch? So I can verify the working of it?
Updated by Christian Hennecke almost 12 years ago
I'm using this:
# filelinks tt_content.uploads.20 { # link description instead of filename labelStdWrap.data = register:description # output alternative text itemRendering.20.data = register:titleText }
This outputs the "File description" as link and the "Titles" as unlinked text.
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17705
Updated by Georg Ringer over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5daedc42fa3081b77b53673826eb28f322241c84.
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Resolved to Closed