[Typo3] userFunc output in a subpart like ###content###
Sacha Vorbeck
sachav at gmx.net
Fri May 20 17:12:05 CEST 2005
Hi,
> subparts.content = user_lib_file->myfunction
> I've tried a couple of ways don't seem to do anything.
You could either transfer the PHP code into a little extension and do
something like this:
subparts.content = COA
subparts.content {
10 = USER
10.userFunc = tx_myextension_pi1->user_first
stdWrap.postUserFunc = tx_myextension_pi1->user_second
}
or take a look at the example code on this page:
http://typo3.org/documentation/document-library/doc_core_tsref/USER_and_USER_INT/
--
hth,
Sacha
More information about the TYPO3-english
mailing list