[TYPO3] The use of itemsProcFunc

Jeppe Donslund jd at webmasters.dk
Tue Sep 25 20:51:57 CEST 2007


I found the current_pid in $PA.

But yes, that is what i am trying to do. Only show videos that are in 
the same sysFolder as the current video.



Jeppe D.


Tomas Mrozek skrev:
>> Do you know how to use ###CURRENT_PID### in the class?
> 
> ###CURRENT_PID### is just a marker that is replaced in the WHERE 
> statement by the correct PID. See some other markers:
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/ 
> 
> 
> To get the pid inside some class function debug the $PA array (my 
> previous post). It might actually contain it.
> 
> But... you are trying to load into the selectbox only videos that are on 
> the same page as the record you edit. Is that right?
> 
> Tomas Mrozek


More information about the TYPO3-english mailing list