[TYPO3-english] Problem with CONTENT

JoH asenau info at cybercraft.de
Fri Nov 28 17:07:55 CET 2008


>> Didn't work exactly that way  - this worked
>>  20 = IMAGE
>>     20 {
>>        file.import.field=media
>>        file.import=uploads/media/
>>        file.width = 270c
>>        wrap = |</a></div></td></tr><tr>
>>     }
>>
>> file.import.data = page:media didn't work but just the same as before
>> (file.import.field=media)
>>
> You are aware that this will go wrong if there is no image... Or more
> than one image... It means that you'll end up with strange half parts
> of links and table cells that are never closed properly!

More than one image shouldn't be the problem, since it would render only one 
of them anyway.
Needs this additional line though:

file.import.listNum = 0

But you are right. In this case it should be done by

30 = HTML
30.value =  |</a></div></td></tr><tr>

instead of a wrap for the IMAGE.
Assuming that the opening <a> and the following <td> and <tr> tags will 
always be rendered. If not you will have to add them in a similar way.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
T3 cookbook (2nd edition): http://www.typo3experts.com
Jobs: http://www.professionals-only.com 




More information about the TYPO3-english mailing list