[TYPO3-core] RFC #2421: Moving file uploads HTML from tx_cssstyledcontent_pi1 to TS

Susanne Moog typo3 at susannemoog.de
Wed May 13 10:25:32 CEST 2009


Hi.

This is an SVN patch request.

Type: Feature

BT Reference: http://bugs.typo3.org/view.php?id=2421

Branch: trunk

Problem:
The default uploads element from css styled content uses a hardcoded
table to generate the file list.

Solution:
Extract the html table and make it configurable via TS.

Notes:
The behavior should be the same as before. However you can test the
configuration with the following code, just to see some changes:

tt_content.uploads.20 {
  outerWrap = <ul>|</ul>
  rowWrap = <li>|</li>
  colWrap = <span class="csc-uploads-fileName">|</span>
  fileNameWrap = |
  fileSizeWrap = <span class="csc-uploads-fileSize">|</span>
  iconWrap = <span class="csc-uploads-icon">|</span>
  descriptionWrap = <p class="csc-uploads-description">|</p>
}

If someone has a better idea to extract the html, please tell me. I'm
not sure if those wraps are the best way.

Regards,

Susanne

-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-team-core mailing list