[TYPO3-UG Cambodia] How to Check userFunc Condition
sovandy chin
sovandy at web-essentials.asia
Tue May 3 10:13:19 CEST 2011
Thank Yuth,
I'm trying another way. I don't use userFunc condition, but I return
value from my function instead.
Cheers,
Sovandy
On 05/03/2011 08:42 AM, Rayuth You wrote:
> 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