[TYPO3-english] How to Check userFunc Condition

Søren Malling soren.malling at gmail.com
Fri Apr 29 12:37:27 CEST 2011


Hi Sovandy,

did you include your PHP files that contains the method you are executing?

includeLibs.ml_geoip = EXT:ml_geoip/...../file.php

That should help you :)

Regards,

Søren Malling

TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
Twitter: twitter.com/sorenmalling



On Fri, Apr 29, 2011 at 12:32 PM, sovandy chin
<sovandy at web-essentials.asia> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list