TYPO3: Limit record types on a page

System folders in TYPO3 are often used to collect data of a certain type. It often makes sense to limit the type of records that can be inserted on the page: It makes data authoring easier for editors, since there are not 100 record types to choose from. And it helps keeping the folder clean of accidential rogue database records.

To enable only certain records on a page, edit the page settings and go to tab "Resources". Add the following "Page TS Config" and add a allowedNewTables setting:

mod.web_list {
  allowedNewTables = tx_odsosm_marker, tx_odsosm_track, tx_odsosm_vector
}

Now, only OSM markers, tracks and vectors may be created on that page:

Before

Add new record: all of them

After

Add new record: Only some

Written by Christian Weiske.

Comments? Please send an e-mail.