[TYPO3] Getting template file from flexforms

Michiel Roos [netcreators] michiel at netcreators.com
Thu Sep 20 13:10:14 CEST 2007


Hi Christian,

The default flexform field for choosing a template file is:
- choose a file from the fileadmin
- OR
- upload a file
- store this file into the uploads/tx_blablabla dir

This means that you don't need to know the path since it allways is the 
upload path of your extension.

The downside of this behavior is that you cannot 'just change' the 
template in the fileadmin and expect the changes to be reflected in the 
frontend. You first need to remove the old template and then 'choose' 
the new one again. You can see that TYPO3 names it thefilename_01.html 
now. It appends 01-n when choosing or uploading a file with the same 
name multiple times.

I have seen plugins where you can 'set' a fileadmin path somewhere and 
where the flexform then offers a dropdown list of files to choose from. 
This meet your requirements better than the default flexform file field.

Checking . . .

Like css_select, but then implemented in a flexform.

Kind regards,


Michiel Roos

-- 
Netcreators BV :: creation and innovation
www.netcreators.com

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-english mailing list