[Typo3-dev] titles of mm-related records -> patch

Volker Graubaum vg_typo3 at e-netconsulting.de
Mon Dec 20 12:56:00 CET 2004


Hi Stig,

> If you want I will try to look back in my mailarcheive, I'm sure it's still
> there.

thx, there I found it too :-)

Well it seems that this solution wasn't very good, and now it's much 
easier :-)

Rupert could you insert it in your patch since I'm not very familar with 
diff :-)

The change which is needed that the related value is insert in the right 
way is in typo3/class.db_list_extra.inc.

Just change
.
.
foreach($this->fieldArray as $fCol)	{
	if ($fCol==$titleCol)	{
-		$theData[$fCol] = 
$this->linkWrapItems($table,$row['uid'],$recTitle,$row);
+ // Get the title not htmlspecialchars
+		$theData[$fCol] = 
t3lib_BEfunc::getProcessedValueExtra($table,$fCol,$row[$fCol],100,$row['uid']);
+  // Wrap the title instead of the normal recTitle which will be an ID
+		$theData[$fCol] = 
$this->linkWrapItems($table,$row['uid'],$theData[$fCol],$row);
	} elseif ($fCol=='pid') {
.
.
.

Greetings Volker




More information about the TYPO3-dev mailing list