[TYPO3-dev] flexform problems
Franke Gordon
Gordon.Franke at skytecag.com
Fri Mar 2 09:33:52 CET 2007
Hello,
i have problems with a flexform.
I have made my first extension with the kickstarter ok it works ;)
But i have this problems:
1. I have a field templateFile ok it works but I have not say I the kickstarter that he auto make the directory at installation so how can I implement this
2. I have 2 dam cat tree fields ok. But the first must multiple and the second only one.
2a. it gives me only the last value and not all
2b. how can I say that he only select one?
Code:
<T3DataStructure>
<sheets>
<sMAIN>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:sky_dam_download/locallang.xml:pi1_form_tab_general<
/sheetTitle>
</TCEforms>
<type>array</type>
<el>
<templateFile>
<TCEforms>
<label>LLL:EXT:sky_dam_download/locallang.xml:pi1_form_template</label>
<config>
<type>group</type>
<internal_type>file</internal_type>
<allowed>tmpl,tpl,html,htm</allowed>
<max_size>100</max_size>
<uploadfolder>uploads/tx_skydamdownload</uploadfolder>
<maxitems>1</maxitems>
<size>1</size>
<selectedListStyle>Width:180px</selectedListStyle>
</config>
</TCEforms>
</templateFile>
<mountCategoryId>
<TCEforms>
<label>LLL:EXT:sky_dam_download/locallang.xml:pi1_form_mountCategory</la
bel>
<config>
<type>select</type>
<!-- not working if the treeViewBrowseable is true see http://bugs.typo3.org/view.php?id=4549 ;(
-->
<form_type>user</form_type>
<userFunc><![CDATA[EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFunc-
>getSingleField_selectTree]]></userFunc>
<treeViewBrowseable>0</treeViewBrowseable>
<treeViewClass><![CDATA[EXT:dam/components/class.tx_dam_selectionCategor
y.php:&tx_dam_selectionCategory]]></treeViewClass>
<foreign_table>tx_dam_cat</foreign_table>
<size>10</size>
<autoSizeMax>30</autoSizeMax>
<minitems>1</minitems>
<maxitems>25</maxitems>
<MM>tx_dam_mm_cat</MM>
</config>
</TCEforms>
</mountCategoryId>
<startCategoryId>
<TCEforms>
<label>LLL:EXT:sky_dam_download/locallang.xml:pi1_form_startCategory</la
bel>
<config>
<type>select</type>
<!-- not working if the treeViewBrowseable is true see http://bugs.typo3.org/view.php?id=4549 ;(
-->
<form_type>user</form_type>
<userFunc><![CDATA[EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFunc-
>getSingleField_selectTree]]></userFunc>
<treeViewBrowseable>0</treeViewBrowseable>
<treeViewClass><![CDATA[EXT:dam/components/class.tx_dam_selectionCategor
y.php:&tx_dam_selectionCategory]]></treeViewClass>
<foreign_table>tx_dam_cat</foreign_table>
<size>10</size>
<autoSizeMax>30</autoSizeMax>
<minitems>0</minitems>
<maxitems>2</maxitems>
<MM>tx_dam_mm_cat</MM>
</config>
</TCEforms>
</startCategoryId>
</el>
</ROOT>
</sMAIN>
</sheets>
</T3DataStructure>
beste Grüße
Gordon
-----------------------------------------
gordon franke
application engineer
die SKYTEC AG
- deutschlands beste arbeitgeber 2003-2006
- european best workplaces 2003-2005
- european top 3 it-companies
- europe's 500 - 100 fastest growing companies 2005
SKYTEC AG | keltenring 11 | 82041 oberhaching, t. +49.(0)89.6666 7 668
| f. +49.(0)89.6666 7 800 | m. (0)176.1066 0 668
eMail: gordon.franke at skytecag.com | Internet: www.skytecag.com
vorstand: thomas geyer, christian veitl | vorsitzender des aufsichtsrates: harald strötgen
sitz der gesellschaft: oberhaching | registergericht: münchen, HRB 127943
More information about the TYPO3-dev
mailing list