[TYPO3-dev] $TCA field with type=user in list
Steffen Kamper
info at sk-typo3.de
Fri Apr 17 12:49:52 CEST 2009
Hi,
Rudy Gnodde schrieb:
> Hello,
>
> I have a table in the database which basicly has the following fields:
>
> uid
> pid
> ...
> num1
> num2
> num3
> num4
>
> num1/4 are int values. What I want to do now is show the total of these
> num fields per record in the TYPO3 backend. I used type=user in $TCA to
> call a PHP script which returns the sum of the num fields. This works
> fine for the form, but not for the list module. In the list module it
> doesn't seem to do anything with the PHP script, but tries to select the
> field (num_total) from the database, which doesn't exist.
>
> Is there any way to do this?
>
> Regards,
>
> Rudy Gnodde
> WIND Internet
> http://www.windinternet.nl
check the label_userFunc - this is imho only possibility to show it by
default. otherwise you have to click on the table for singleTableView
and add your userfield to the view.
vg Steffen
More information about the TYPO3-dev
mailing list