[TYPO3] Condition with userFunc doesn't work at all
Xavier Perseguers
typo3 at perseguers.ch
Mon Sep 15 14:10:04 CEST 2008
Hi,
> Sadly, it still doesn't work. I put the php code into
> fileadmin/user_popover.php as follows (for now):
>
> <?php
> class user_popover {
> function newVisitor() {
> return(true);
> }
> }
Try without a class, with a global function
> And my TS Setup field looks like this:
>
> includeLibs.user_popover = fileadmin/user_popover.php
>
> [userFunc = user_popover->newVisitor()]
> ..some content..
> [end]
[userFunc= newVisitor()]
HTH
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-english
mailing list