[Typo3-UG Oesterreich] ext_tables.php mit TyposScript modifizieren

tobias zucali tobias at no-mad-designers.net
Mon May 23 17:20:09 CEST 2005


hallo liste!

mittlerweile bin ich ein bisschen mehr informiert:
<schnipp aus TYPO3 Core APIs>
The items from "foreign_table" are selected with this WHERE-clause.
The table is joined with the "pages"-table and items are selected only 
from pages where the user has read access! (Not checking DB mount 
limitations!)

Example:

AND [foreign_table].pid=0 ORDER BY [foreign_table].sorting

Markers:
You can use markers in the WHERE clause:
###REC_FIELD_[fieldname]###
###THIS_UID### - is current element uid (zero if new).
###CURRENT_PID### - is the current page id (pid of the record).
###STORAGE_PID###
###SITEROOT###
###PAGE_TSCONFIG_ID### -  a value you can set from Page TSconfig 
dynamically.
###PAGE_TSCONFIG_IDLIST### -  a value you can set from Page TSconfig 
dynamically.
###PAGE_TSCONFIG_STR### -  a value you can set from Page TSconfig 
dynamically.

The markers are preprocessed so that the value of CURRENT_PID and 
PAGE_TSCONFIG_ID are always integers (default is zero), 
PAGE_TSCONFIG_IDLIST will always be a commalist of integers (default is 
zero) and PAGE_TSCONFIG_STR will be addslashes'ed before substitution 
(default is blank string).
</schnipp>

jedoch: wie definiere ich ###PAGE_TSCONFIG_IDLIST###, und wie schaffe 
ich es, zwei unterschiedliche zu definieren (hab zwei listen mit 
unterschiedlichen PID´s ansonsten gleich)?
danke, tobias



More information about the TYPO3-at mailing list