[Typo3] levelmedia with text file
Peter Klein
peter at umloud.dk
Mon Dec 5 11:50:00 CET 2005
Hi Sean. What you are trying to do, isn't possible, as:
* The FILE object doesn't support the "import" property ( Its' an
imgResource property)
* The FILE objects "file" property, doesn't accept parameters, only a string
value..
--
Peter Klein/Umloud Untd
"Sean Ellis" <sellis at telus.net> skrev i en meddelelse
news:mailman.1.1133550927.22922.typo3-english at lists.netfielders.de...
> Hello,
>
> I'm trying to include a small bit of text on pages, dependent on the
> branch of the site that they are located in. We are already doing this
> with logos for different area, but I'm having trouble getting a text
> version to work.
>
> This is my typoscript below. What it does is to pop in the value from the
> default fileadmin/template/main/res/blurb1.txt, but it doesn't grab the
> file that I've uploaded.
>
> I'm using import.listNum = 1 because there is an image in the media field
> already.
>
> Does anyone have any thoughts about this?
>
> # per section blurb
> temp.blurb = FILE
> temp.blurb {
> file = fileadmin/template/main/res/blurb1.txt
> file {
> import = uploads/media/
> import.data = levelmedia: 1, "slide"
> import.listNum = 1
> import.override.field = media
> }
> }
> # end of per section blurb
>
> # and later
>
> #blurb
> subparts.blurb < temp.blurb
>
> cheers,
> Sean
>
More information about the TYPO3-english
mailing list