Hatte auch mal damit zu kämpfen.
In der API, die du z.B. hier findest
TYPO3 unleashed: TYPO3 API, steht :
Zitat:
|
Executes a standard SELECT query for listing of records based on standard input vars from the 'browser' ($this->internal['results_at_a_time'] and $this->piVars['pointer']) and 'searchbox' ($this->piVars['sword'] and $this->internal['searchFieldList']) Set $count to 1 if you wish to get a count(*) query for selecting the number of results. Notice that the query will use $this->conf['pidList'] and $this->conf['recursive'] to generate a PID list within which to search for records.
|
Im source code wir von pi_exec_query die Funktion
pi_list_query aufgerufen. Und hier
PHP-Code:
$pidList = $this->pi_getPidList($this->conf['pidList'],$this->conf['recursive']);
Also musst du wahrscheinlich
$this->conf['pidList'] mit den Seiten ids, in denen sich deine Inhaltselemente befinden, setzen.
Dann sollte es funktionieren.