Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Different content Displaying based on...
Different content Displaying based on Different Countries
Different content Displaying based on Different Countries
Hi everyone,
I'm using Joomla 2.5, MetaMod 3.15.
Downloaded Country Database in CSV format from http://dev.maxmind.com/geoip/legacy/geolite/
Created a folder in Joomla directory and uploaded Country Database and GeoIP.Dat files
Created two custom HTML Modules with some content. and copied the below code in PHP Box in MetaMod Module.
if ($fromCountryName == "India") return 123;
else if ($fromCountryName == "Australia") return 124;
Both of them getting 123(Module ID) content
http://test.clicksandlikes.com/
Why it is happening. How to Different content Displaying based on Different Countries.
Is the PHP code correct? If not please provide.
- Index
- » MetaMod
- » MetaMod General Support
- » Different content Displaying based on...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5965
- Posts this week:
- 3
- User Info:
- Total Users:
- 8012
- Newest User:
- grant1ab
- Members Online:
- 0
- Guests Online:
- 175
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked