TSref/RECORDS

From TYPO3Wiki

Jump to: navigation, search
TypoScript Reference - RECORDS
Translations info
An english page for every translation.
All pagenames in english.

  en       de   nl   fr   ja   zh  

TypoScript

RECORDS

The register-key SYS_LASTCHANGED is updated with the tstamp-field of the records selected which has a higher value than the current.

NOTE: Records with parent ids (pid's) for non-accessible pages (that is hidden, timed or access-protected pages) are normally not selected. Pages may be of any type, except recycler. Disable the check with the "dontCheckPid"-option.

Property Data type Description Default


source records-list /stdWrap List of record-id's, optionally with appended table-names.
Example:
tt_content_34, 45, tt_links_56
tables list of tables List of accepted tables. If any items in the ".source"-list is not prepended with a tablename, the first table in this list is assumed to be the table for such records.

Also tablenames configured in .conf is allowed.

Example:
tables = tt_content, tt_address, tt_links
conf.tx_myexttable = TEXT
conf.tx_myexttable.value = Hello world

This adds the tables tt_content, tt_address, tt_links, tx_myexttable

conf.[tablename] cObject Config-array which renders records from table tablename If this is NOT defined, the rendering of the records is done with the toplevel-object [tablename] - just like the cObject, CONTENT!
wrap wrap
dontCheckPid boolean Normally a record cannot be selected, if it's parent page (pid) is not accessible for the website user. This option disables that check.

[tsref:(cObject).RECORDS]

 # Example:
 20 = RECORDS
 20.source.field = records
 20.tables = tt_address
 20.conf.tt_address < tt_address.default
Personal tools