Feature #15524

Moving all HTML fromtx_cssstyledcontent_pi1 to TS

Added by John Angel almost 16 years ago. Updated about 3 years ago.

Should have
Content Rendering
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Sprint Focus:


It would be great to move all HTML code from tx_cssstyledcontent_pi1 to TS for TYPO3 4 final release.

I want to make file uploads look like Unordered list:

Since tx_cssstyledcontent_pi1 has hard-coded HTML (instead of using
stdWrap), there is no TS solution for this.

(issue imported from #M2421)


2421_movingHTMLoutOfCSC.patch (5.12 KB) 2421_movingHTMLoutOfCSC.patch Administrator Admin, 2009-05-13 10:26
bug2421-renderUploads.diff (7.83 KB) bug2421-renderUploads.diff Administrator Admin, 2009-05-15 12:07

Related issues

Related to TYPO3 Core - Feature #15943: Render bullet lists (tt_content.bullets) with TypoScriptClosedSteffen Kamper2006-03-29

Related to TYPO3 Core - Bug #20042: render_uploads description is processed by htmlspecialchars() hard codedClosed2009-02-18

Has duplicate TYPO3 Core - Feature #16075: render_uploads should be more flexibleClosed2006-04-20

Has duplicate TYPO3 Core - Feature #19058: render_uploads / filelinks - move html from php to typoscriptClosed2008-07-03


Updated by Stefano Cecere almost 16 years ago

i agree with you, angel_john
could you at least list here all the hardcoded html in tx_cssstyledcontent_pi1 ?


Updated by John Angel almost 16 years ago

class.tx_cssstyledcontent_pi1.php: lines 329 - 364

// Now, lets render the list!
$tRows = array();
foreach($filesData as $key => $fileD) {

// Setting class of table row for odd/even rows:
$oddEven = $key%2 ? 'tr-odd' : 'tr-even';

// Render row, based on the "layout" setting
<tr class="'.$oddEven.'">'.($type>0 ? '
<td class="csc-uploads-icon">
</td>' : '').'
<td class="csc-uploads-fileName">
($fileD['description'] ? '
<p class="csc-uploads-description">'.htmlspecialchars($fileD['description']).'</p>' : '').'
</td>'.($this->cObj->data['filelink_size'] ? '
<td class="csc-uploads-fileSize">
</td>' : '').'

// Table tag params.
$tableTagParams = $this->getTableAttributes($conf,$type);
$tableTagParams['class'] = 'csc-uploads csc-uploads-'.$type;
// Compile it all into table tags:
$out = '
&lt;table '.t3lib_div::implodeAttributes($tableTagParams).'&gt;

Updated by Administrator Admin almost 16 years ago

You can use the extension CSS_filelinks meanwhile...


Updated by Ernesto Baschny over 15 years ago

This seem to be a task for TYPO3 4.1 (or 4.5?). If someone could send some patches to resolve the issues, it would help.


Updated by Ernesto Baschny over 12 years ago

I just presented my suggestion for this in the core list.


Updated by Ernesto Baschny over 12 years ago

Commited to trunk (will be in 4.3.0), rev. 5655.


Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF