[TYPO3] includeLibs not working?
Helge Vad
helge at mereteland.dk
Sat Jun 10 11:25:47 CEST 2006
> I have the following TS template setup:
> -----------------------------------------------------------------
> includeLibs.hsme_string = typo3hsme/hsme_string.php
> temp.page-topic = COA
> temp.page-topic {
> 20 = HTML
> 20 {
> value.data = page:title
> postUserFunc = hsme_string->ProcessTitle
> }
Just a couple of things:
- have you verified that the path/file typo3hsme/hsme_string.php is accessible ie just by trying to look it up with your browser
http://mydomain.com/typo3hsme/hsme_string.php
- have you looked at
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/8/22/
for USER and USER_INT which (correct me if I'm wrong) applies here, especially I think you need to prefix your classname with
'user_' - that is something like:
user_ hsme_string->ProcessTitle
- establish that your function is working by testing it in a simple USER_INT setup:
Example:
page.10=USER
page.10.userFunc=user_ hsme_string->ProcessTitle
- how about that final '}' in the supplied TS - that's missing, right?
Best Helge Vad
More information about the TYPO3-english
mailing list