Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Help with Geoip location and languages

Help with Geoip location and languages

I read the instructions and tried to create a rule that return portuguese language when the site is accessed in Brazil and Portugal.

How could I create this rule? May I do this two countries in just one rule?

Thanks for any help! neutral

billwide
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Help with Geoip location and languages

Yes, you can enter PT,BR in the "only these countries" box so it will trigger when anyone from those countries visits the site.

Then, to trigger the language thing, I assume you are using JoomFish? If so, I think you can use this in the PHP box in the Succeed action:

JRequest::setVar("lang","pt");

I think that will work.
Best regards,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3328 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
3
User Info:
 
Total Users:
4401
Newest User:
jason59312
Members Online:
0
Guests Online:
125

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