[TYPO3] Condition with userFunc doesn't work at all

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Sep 15 14:19:15 CEST 2008


Hi!

Bas v.d. Wiel wrote:
> Sadly, it still doesn't work. I put the php code into
> fileadmin/user_popover.php as follows (for now):

If the advice after the next quotation does not help, check that file is loaded at all. Put a call to echo to the top of the file (echo 'aaa') and call a page with &no_cache=1. If you get your 'aaa', than at least file is included.

> [userFunc = user_popover->newVisitor()]

But firsts, remove the (). They should not be there. It should be:

[userFunc = user_popover->newVisitor]

> PS. I tried page.includeLibs as well as just includeLibs, neither of
> which works. I do see them appear in the object browser but apparently
> that doesn't mean much.

They are equivalent (merged at some point in the code).

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/debugging_symlinked_typo3_files_with_komodo_ide_on_mac/


More information about the TYPO3-english mailing list