Project

General

Profile

Actions

Bug #75213

closed

Missing Anchors for PDFs

Added by Geddo no-lastname-given over 8 years ago. Updated over 4 years ago.

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

100%

Estimated time:
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 4 (0 open4 closed)

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

Actions
Related to TYPO3 Core - Bug #84999: lowlevel_cleaner missing_files complains when anchor is in filenameClosed2018-05-14

Actions
Related to TYPO3 Core - Bug #90916: Page type external URL, removes fragments from relativ URLs Closed2020-04-01

Actions
Related to TYPO3 Core - Bug #91357: Typolink strips #Closed2020-05-11

Actions
Actions #1

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Frontend
Actions #2

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>

Actions #3

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

Actions #4

Updated by Riccardo De Contardi almost 6 years ago

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

Updated by Christian Eßl about 5 years ago

  • Related to Bug #84999: lowlevel_cleaner missing_files complains when anchor is in filename added
Actions #6

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.

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Benni Mack over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Christian Eßl over 4 years ago

  • Related to Bug #90916: Page type external URL, removes fragments from relativ URLs added
Actions #12

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Georg Ringer over 4 years ago

Actions

Also available in: Atom PDF