Einzelnen Beitrag anzeigen

  #2  
Alt 16.01.2008, 11:42
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] renderObj and custom script

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"
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english