Hello,
I have some headerFields that I display very well. My only problem is that I have a unixtimestamp that I whant to display as hour and minutes (like 13:05), but my_timestamp is displayed as "unixtimestamp" so just an integer.
How and where can I format "my_timestamp" to Date? It is normally simple likebut I don't know where to write this code. I try to use "group_callback"(http://www.typolight.org/callbacks.html) but it will be working only in version 2.8 of Typolight !Code:date("H:m",$my_timestamp)
Thanks for helpCode:// List 'list' => array ( 'sorting' => array ( 'mode' => 4, 'fields' => array('is_ok'), 'headerFields' => array('my_description', 'my_timestamp''), 'flag' => 5, 'panelLayout' => 'sort,search,limit', 'child_record_callback' => array('tl_test', 'list_test') ),

			
					
					
					
						
Reply With Quote

Bookmarks