[TYPO3] renderObj and custom script

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jan 16 11:42:37 CET 2008


Hi!

Bartosz Aninowski wrote:
> includeLibs.select_records = fileadmin/user_some.inc
> my.renderObj = USER
> my.renderObj.userFunc = user_some->select_records
> my.renderObj {
> 10 = TEXT
> 10.field.someFiled1
> 
> 20 = TEXT
> 20.field.someFiled2
> }
> 
> What exaclly my functions select_records should return and if it possible at 
> all?

It should return HTML. Take a look to TSRef for format and parameters. Normaly it is like this:

function aaa($content, $conf) {
	return '<p>Hello, world!</p>';
}

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list