Bug #75213

Missing Anchors for PDFs

Added by Geddo no-lastname-given about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2016-03-21
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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>

Related issues

Related to TYPO3 Core - Feature #87102: add possibility to add an anchor in file links New 2018-12-07

History

#1 Updated by Riccardo De Contardi almost 3 years ago

  • Category set to Frontend

#2 Updated by Geddo no-lastname-given almost 3 years ago

Workaround: <a href="<f:uri.page pageUid="{pagelink}" />#page={pdfanchor}" target="_blank">{product.linkname}</a>

#3 Updated by Geddo no-lastname-given almost 3 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

#4 Updated by Riccardo De Contardi 4 months ago

  • Related to Feature #87102: add possibility to add an anchor in file links added

Also available in: Atom PDF