Typoscript’s RECORDS, how I love thee
January 6th, 2008 | Hacking | Tags: Hacking, TYPO3After hacking it for so many years, there are still some surprising nuggets hidden in TYPO3. Our TYPO3-newbie webmaster Johannes recently pointed me to the RECORDS type in our template which is extremely useful for including portlet-style content elements in your template. In order to include a plugin somewhere in your page template, simply add it to a sysfolder or hidden page somewhere and refer to the content record like this:
subparts.TAGCLOUD = RECORDS
subparts.TAGCLOUD {
tables = tt_content
source = 444
dontCheckPid = 1
}
That’s it. The plugin content is rendered without USER_INT fiddling or COA tricks, configuration is dummy proof with Flexforms which seem to be more popular than TS configuration anyway. You can also include link lists, search forms, user login or normal content etc. like this, all nicely editable by your average users.