Project

General

Profile

Actions

Bug #25181

closed

Typolink config parameter "section" overrides full "parameter" ?

Added by René over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi there,

im not sure but is it right behaviour that the generated links from typolink will hav no more parameter if i use the section property in config?

exmpl.
If i do the folowing:
$linkconf = Array(
"parameter." => Array(
"data" => "TSFE:id"
)
);

echo $this->cObj->typoLink("link1", $linkconf);

$linkconf["section"] = "related";
echo $this->cObj->typoLink("link2", $linkconf);

i get:
<a href="http://domain.de#index.php?id=123&quot;&gt;link1&lt;/a>
<a href="#related">link2</a>

should´t it not be ?
<a href="http://domain.de/index.php?id=123#related&quot;&gt;link2&lt;/a>

The tsref says nothin about overwriting the whole thing
in order of my base href it will allways point to http://domain.de/#related :(

(issue imported from #M17771)

Actions

Also available in: Atom PDF