Archive for February, 2007

About

Wednesday, February 28th, 2007

Well. I’m David. See http://www.merea.se/ (swedish) if your curious on what I do for a living.

Change layout of filelinks lists in typo3

Monday, February 19th, 2007

I recently had to change the title of my files in filelinks with typo3. As I’ve become customed with the thought of having mostly either a full or partial solution to every problem with Typo3, I headed off to google and looked for ways to modify the filelinks.

This got me to css_filelinks. A nice way to modify most appearance aspects of filelinks. I think it’s actually a good example of how T3 can be modified by behaviour and function.
Anyway, with that one you can change the FE (FrontEnd) display to your likening with a template/marker styled way. Instead of displaying ###TITLE### (filename) I choosed to use the description field that you can add in the filelinks setting.

  1.  
  2. tt_content.uploads.20.layout.file >
  3. tt_content.uploads.20.layout.file.cObject=COA
  4. tt_content.uploads.20.layout.file.cObject{
  5.   wrap=<div class="filelinkslist">&#124;</div>
  6.   10 = TEXT
  7.   10.wrap=<span>&#124;</span>
  8.   10.value=###ICON###<a href="###URL###">###DESCRIPTION###</a>
  9.   20 <.10
  10.   20.value=###FILESIZE###
  11. }
  12.  

Configuration reference: http://typo3.org/documentation/document-library/extension-manuals/css_filelinks/0.2.11/view/1/3/