[TYPO3-UG Cambodia] How to Check userFunc Condition

Rayuth You rayuth.you at gmail.com
Tue May 3 03:42:55 CEST 2011


I think that you should return 0 or 1 instead of true or false, it may work.

Cheers,

On 04/29/2011 05:35 PM, sovandy chin wrote:
> Dear all,
>
> I'm using userFunc with ml_geoip extension. What I want is to detect
> country. If the user accessing my page from country A, it will return
> true or false otherwise. Then I need to check [userFunc method()]. If
> it's true, I will do something. The problem is it always return false
> into else statement even though my function return true.
>
> Please anyone guide me.
>
> Thank in advance,
> Sovandy


More information about the TYPO3-UG-Cambodia mailing list