[Typo3-dev] Field, templavoila and typoscript

Jean-Baptiste Rio triphot69 at hotmail.com
Wed Jun 15 17:57:37 CEST 2005


Jean-Baptiste Rio wrote:
> Kraft Bernhard wrote:
> 
>> Patrick Boisclair wrote:
>> So pherhaps this is already possible in some simpler way ... just 
>> don't know.
>>
> 
> I found a simpliest way to do that : I've had some XML tags in the 
> flexform DS definition. No need of TS. You simply add your own DS XML 
> code. When you call your plugin, you can get your XML code with 
> $this->cObj->data['field_link1'] (array maid by Typo3 with xml2array). 
> In the specific tags, just add something like :
> <field_file>field_file</field_file>
> 
> Just My2P
> 
> JB

Just two more things :

- "field_link1" is the name of the field that displays the link to the 
file URL
- "field_link1" is declared as a field of the Flexform. I didn't try to 
manage a field outside the flexform but the strategy could be adapted to 
that case.

JB




More information about the TYPO3-dev mailing list