[TYPO3] includeLibs not working?
He Shiming (NOSPAM)
mailbill at 21cn.com.nospam
Sat Jun 10 12:53:45 CEST 2006
> 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
I changed the class name to user_hsme_string, no luck. Besides, it doesn't
explain why the file isn't even accessed.
I'm sure that the file is accessible through
http://domain/typo3hsme/hsme_string.php . My template TS setup is fairly
simple. And there's no missing brackets. I'm wondering if there's any
special requirements for includeLibs because I certainly can't find it in
the documentation.
By specifying includeLibs, typo3 should at least try to look for the file,
why didn't it? I tried pointing it to the examples at
typo3/sysext/cms/tslib/media/scripts. It's the same, typo3 didn't attempt to
read the file, the external routines aren't included. What could possibly go
wrong here?
Thanks,
He Shiming
More information about the TYPO3-english
mailing list