Bug #16185
closedTBE Browser (element browser) current link's url value from RTE
0%
Description
IMO the script from class.browse_links.php handles the current link's url value in the wrong way (it's around line 792).
When one use TBE Browser (I'm not sure of its name) from within RTE (I'm trying to make TinyRTE to work) the 'mode' should always be 'wizard', shouldn't it?
Yet, when it's this way, the current link's url is taken from 'P' param, but for external URLs it should be taken from 'curUrl', right?
Additionally there is no 'title' param handling...
my fix:
if ($this->act == 'page') {
$currentLinkParts = t3lib_div::trimExplode(' ',$this->P['currentValue']);
$this->curUrlArray = array(
'target' => $currentLinkParts1
);
$this->curUrlInfo=$this->parseCurUrl($this->siteURL.'?id='.$currentLinkParts0,$this->siteURL);
} else {
$this->curUrlArray = t3lib_div::_GP('curUrl');
if ($this->curUrlArray['all']) {
$this->curUrlArray=t3lib_div::get_tag_attributes($this->curUrlArray['all']);
}
$this->curUrlInfo=$this->parseCurUrl($this->curUrlArray['href'],$this->siteURL);
}
It's without without 'title' param.
(issue imported from #M3568)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - PHP Version deleted (
5)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.