[TYPO3-core] $GLOBALS['TSFE']->page using relative path to /uploads/media/ in media field instead of references

François Suter fsu-lists at cobweb.ch
Tue Oct 1 14:06:30 CEST 2013


Hi Patrick,

> elements.image = IMAGE
> elements.image {
>      file {
>          import =/uploads/media/
>          import {
>              data = field:media
>              listNum = 0
>          }
>      }
> }

But with FAL you're supposed to use the new FILES object for rendering. 
See: 
http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Files/Index.html

HTH

-- 

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/



More information about the TYPO3-team-core mailing list