View Single Post
  #13  
Old 23rd September 2010, 20:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,430
Thanks: 813
Thanked 5,208 Times in 4,084 Posts
Default

The tform files are only for the edit forms and not the lists. The lists are defined in the .list.php files, but this file contains only the definition and not the the actual list generation.

If you want to create custom list colums, you have to extend a function in the list library. For an example see e.g. the mail_user_list.php file in the mail module. As you want to calculate a specific value in every row, you will have to extend the prepareDataRow($rec) function of the listform_actions.inc.php class.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote