[Typo3] How to manipulate the page.media field in TS ?

Francesco di Francia darksky77 at email.it
Fri Oct 28 15:24:46 CEST 2005


Hi,

i'm guessing how to insert the content of the media field ( in page 
header ) in my template. I realized a document-list and my editor have 
to insert a language-flag image in the media file, depending if the 
document is in eng or italian. ( actually they are external-url page ).
This is the code

### REVIEW LIST ###
lib.reviewlist = HMENU
lib.reviewlist.wrap = <div class="csc-menu csc-menu-4">|</div>
lib.reviewlist {
special = keywords
special {
       entrylevel = 0
   }
1 = TMENU
1.alternativeSortingField = subtitle asc
1.NO {
stdWrap.field = subtitle
allStdWrap.append = COA
allStdWrap.append {

     5 = HTML
     5.value=&nbsp;&nbsp;&nbsp;
     10 = TEXT
     10.data = field : abstract
     12 = HTML
     12.value=&nbsp;&nbsp;&nbsp;


     30 = TEXT
     30.data = field : author
  32 = HTML
     32.value=&nbsp;&nbsp;&nbsp;

  50 = TEXT
     50.field = crdate
     50.date = d-m-Y
  52 = HTML
    52.value=<br>

60 = IMAGE
60 {
       file.import.listNum = 0
       file.import= field : media }


  62 = HTML
    62.value=<br>
}

}
}


The problem is that the image in the media field doesn't appear. Why ? 
because of i'm using a COA append ?

Thanks a lot,

Francesco



More information about the TYPO3-english mailing list