[TYPO3] The use of itemsProcFunc

Jeppe Donslund jd at webmasters.dk
Tue Sep 25 12:59:08 CEST 2007


I found out why some of them disappears. It is related to the

"foreign_table" => "tx_wmpfvideos_videos",	
				"foreign_table_where" => " AND tx_wmpfvideos_videos.pid = 
###CURRENT_PID### ORDER BY tx_wmpfvideos_videos.person",	

earlier in the TCA.


Do you know how to use ###CURRENT_PID### in the class?


Regards,
Jeppe D



Tomas Mrozek skrev:
>> Can you tell me how to get ###CURRENT_PID### used in the class?
> 
> Well, there are two objects passed to your function:
> crossreference($PA, $fobj)
> 
> $PA['items'] contains the items of the select box but check what else 
> $PA has to offer. :)
> 
> Tomas Mrozek




More information about the TYPO3-english mailing list