Project

General

Profile

Actions

Feature #14987

closed

RECORDS cObject does not use stdWrap

Added by Brian Slezak over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-09-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

The current cObject RECORDS, does not utilize stdWrap on the root of the object. Those other cObjects that would benefit from this, all employ the stdWrap funtion except RECORDS.

This would allow the following functionality through typoscript, which is an example of what I am trying to accomplish:

temp.border = RECORDS
temp.border.tables = tt_content
temp.border.source = 53

temp.border.stdWrap.field = image
temp.border.stdWrap.ifEmpty.cObject < temp.otherContent

If the field 'image' from record pid = 53 from table tt_content is empty, then don't use that content but other content.

Suggest the following change of code to class.tslib_content.php:

1254a1255

if ($conf['stdWrap.']) $theValue = $this->stdWrap($theValue,$conf['stdWrap.']);

(issue imported from #M1475)

Actions #1

Updated by Brian Slezak about 18 years ago

Updated diff to TYPO3 v4:

1292a1293

if ($conf['stdWrap.']) $theValue = $this->stdWrap($theValue,$conf['stdWrap.']);

Actions #2

Updated by Michael Stucki about 18 years ago

Fixed in CVS

Actions

Also available in: Atom PDF