Feature #51100

Links with absolute URI should have the option of URI Scheme

Added by Patrick Kroog almost 2 years ago. Updated almost 2 years ago.

Status:New Start date:2013-08-16
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:ViewHelpers
Target version:-
Has patch:No

Description

At the moment it's not possible to build absolute URIs with https scheme.

Only the ExternalViewHelper allows configuring the URI scheme.

Describing example of the problem:

<f:uri.action pageUid="1" arguments="{client:client}" absolute="1" />

builds a full link like:
- http://example.com/index.php?id=1&tx_myplugin[client]=10

But there's no option to set the URI scheme to https, alghough the

uriBuilder would allow setting the URI scheme:
$uriBuilder->setAbsoluteUriScheme("https");

(Referring to: fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php)

--

So there should be another option for this in the render method in the Action/Page Viewhelpers!

ActionViewHelper.patch Magnifier (2.2 kB) Patrick Kroog, 2013-08-16 12:04

PageViewHelper.patch Magnifier (1.8 kB) Patrick Kroog, 2013-08-16 12:04

ActionViewHelper.patch Magnifier (2.2 kB) Patrick Kroog, 2013-08-16 12:06

PageViewHelper.patch Magnifier (1.8 kB) Patrick Kroog, 2013-08-16 12:06

History

#1 Updated by Patrick Kroog almost 2 years ago

These are patches for TYPO3 v4.7.14 on the Uri ViewHelpers
- PageViewHelper
- ActionViewHelper

Both must be used, otherwise the uribuilder doesn't UNSET the uri scheme value before the next link is generated..

#2 Updated by Patrick Kroog almost 2 years ago

These are the patches for the Link ViewHelpers (TYPO3 v. 4.7.14)

Also available in: Atom PDF