Project

General

Profile

Actions

Bug #16741

closed

typoLink doesn't use "type" correctly with simulateStaticDocuments

Added by Oliver Hader over 17 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-11-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Imagine a TypoScript configuration like the following and simulateStaticDocuments enabled:

page.10 = TEXT
page.10 {
stdWrap = 1
stdWrap.typolink {
returnLast = url
useCacheHash = 1
parameter.data = tsfe:id
additionalParams = &type=5
}
}

You would get something like this as link-URL:

SomePage.13+M5bd9214a8c2.0.html?&type=5

If a user clicks that link, he isn't forward to typeNum "5" as defined, but to the regular typeNum "0". So we would expect to have a link like the following one:

SomePage.13.5.html

The MD5-Part is missing here because it was used for the "&type=5" param only.

The attached patch file is exactly doing this by adding an additional check to tslib_cObj::typoLink.

It's not only a 4.1-beta1a issue. This exists since a long time... ;-)
(issue imported from #M4564)


Files

patch_typolink.diff (1.38 KB) patch_typolink.diff Administrator Admin, 2006-11-27 10:35
4564_typolink_typeparam.diff (851 Bytes) 4564_typolink_typeparam.diff Administrator Admin, 2007-08-02 17:29

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #16088: Adding propertie "class" for typolinkClosedBenni Mack2007-08-02

Actions
Actions

Also available in: Atom PDF