Bug #75213
closedMissing Anchors for PDFs
100%
Description
Hi gang,
since I need anchors for (PDF-)Files in my current project I discoverd that section- and additionalParams-Tags are getting ignored when linking to a PDF-File.
I you can check it by creating a link to a PDF via RTE or you can test this fluid snip:
WORKS: <f:link.page pageUid="1" section="peter">test</<f:link.page> DOESNT: <f:link.page pageUid="file:1" section="peter">test</f:link.page> WORKS: <f:link.page pageUid="1" additionalParams="{test:'peter'}">test</<f:link.page> DOESNT: <f:link.page pageUid="file:1" additionalParams="{test:'peter'}">test</f:link.page> And if you think of typolink: WORKS: <f:link.typolink parameter="1" >test</f:link.typolink> DOESNT: <f:link.typolink parameter="file:1" additionalParams="&test=peter">test</f:link.typolink> ALSO DOESNT: <f:link.typolink parameter="file:1#peter">test</f:link.typolink>
Updated by Geddo no-lastname-given over 8 years ago
Workaround: <a href="<f:uri.page pageUid="{pagelink}" />#page={pdfanchor}" target="_blank">{product.linkname}</a>
Updated by Geddo no-lastname-given over 8 years ago
as my prev. comments were all about fluid, this is also a problem for the Link-Wizard.
As I can add additional params to each link with "RTE.default.buttons.link.relAttribute.enabled = 1", none of these params are linked correctly to an FAL-Link
e.g. file:22#page=10 becomes http://localhost/XXXX/?file:22%23page%3D10
Updated by Riccardo De Contardi almost 6 years ago
- Related to Feature #87102: add possibility to add an anchor in file links added
Updated by Christian Eßl about 5 years ago
- Related to Bug #84999: lowlevel_cleaner missing_files complains when anchor is in filename added
Updated by Riccardo De Contardi over 4 years ago
I report here the description of the issue #87102 to keep track of it
add possibility to add an anchor in file links
It's possible to link to a certain page in a pdf with anchors, e.g.
example.ex/test.pdf#page=5
To use this in TYPO3 it must be possible to set an anchor in file links, too.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63823
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63823
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63788
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0597c09389eacb9ce77ab32ae618171fe5cd350b.
Updated by Christian Eßl over 4 years ago
- Related to Bug #90916: Page type external URL, removes fragments from relativ URLs added
Updated by Georg Ringer over 4 years ago
- Related to Bug #91357: Typolink strips # added