[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-english] Please help me with dmc_geoIP if you can!

Hi Oliver,
I managed such a similiar task many times, in my case I usually have to do
some "typoscript magic" according to specific countries.
To accomplish that the easiest solution I found is to create a user
function that you can store in the file
typo3conf/AdditionalConfiguration.php (being you on typo3 6.x).
This function should query a db table (or similar) like maxmind.com (the
most famous around) and return true or false accrding to what you want to

Then you can just use a typoscript condition calling your user_func and do
stuff according to it.

I hope I've been of some help.


2014-04-01 18:40 GMT+02:00 Ollie New <[email protected]>:

> Hi,
> I need to determine what country a visitor is from and this extension
> looks like it will be able to do it:
> http://typo3.org/extensions/repository/view/dmc_geoip
> I have installed it (by the way the site is running Typo3 6.1.7) but I
> have no idea how to determine what the visitor's country is in TypoScript.
> I don't want to redirect them to a different rootline (the extension can
> do this), just simply find out what country they are in.
> Can anybody give some advice please?
> Thanks!
> _______________________________________________
> TYPO3-english mailing list
> [email protected]
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

*Nicola Cerchiari*
TYPO3-english mailing list
[email protected]