[TYPO3-dam] selecting category in plug in editing
Héctor Ordóñez Taboada
ordonhez_taboada_hector at hotmail.com
Wed Jan 31 13:23:18 CET 2007
Hi everyone,
I changed the definition of the field 'tx_damdownloads_category' from this:
$GLOBALS['T3_VAR']['ext']['dam']['TCA']['category_config']
to this:
'config' => Array (
"type" => "select",
"form_type" => "user",
"userFunc" =>
'EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFunc->getSingleField_selectTree',
"treeViewBrowseable" => true,
"treeViewClass" =>
'EXT:dam/components/class.tx_dam_selectionCategory.php:&tx_dam_selectionCategory',
"foreign_table" => 'tx_dam_cat',
"size" => "4",
"autoSizeMax" => 30,
"minitems" => 0,
"maxitems" => 1000,
"default" => '',
#"MM" => 'user_damext_page_cat_mm'
because it didn't work.
as it doesn't have a mm table, i commented that part, the thing is that now
it works perfectly, but only after saving the plugin of dam downloads for
the first time...before saving the first time-->no work; after saving the
first time-->smooth like silk.
I don't really have a clue why!!
Any advice or suggestion over there?
Regards,
Héctor.
_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
More information about the TYPO3-project-dam
mailing list