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.

 

Template per sub-domain (SOLVED)

Template per sub-domain (SOLVED)

I have two sub-domains service.mobilecenter.lt and biteservice.mobilecenter.lt.
I have two templates mc_service and bite_service (default).
I created rule 1 in Environment under Domain name(s) putting service.mobilecenter.lt and in Actions at Set TemplateStyle selecting mc_service.
Then created rule 2 in Environment under Domain name(s) putting biteservice.mobilecenter.lt and in Actions at Set TemplateStyle selecting bite_service.
But it always loads default template (bite_service) no matter what domain you use. I try to make different set up in Next action, but the result is same - under service.mobilecenter.lt domain it loads bite_service template.

Any suggestions?

vidma
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Re: Template per sub-domain (SOLVED)

Is this forum alive?

vidma
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Re: Template per sub-domain (SOLVED)

CHAMELEON DEBUG ON
Request URL: http://service.mobilecenter.lt/
Current date and time: "2019-12-03 14:42:30pm" in timezone "Europe/Vilnius"
Processing rule id 5 ("MC Service template")
- Domain name: "service.mobilecenter.lt" is in the include list - succeeding
Started SUCCEED action for rule id 5
Finished SUCCEED action: default template style was set to "13|mc_service"
Stopped processing as result of SUCCEED action at rule id 5 ("MC Service template")
Final template style set to "13|mc_service"

Event it says SUCCEED  and Final template style set to "13|mc_service" it loads the default template, which is  bite_service.

vidma
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Re: Template per sub-domain (SOLVED)

Found problem. It was caused by Advanced Template Manager component. Uninstalled it and now everything works perfectly.

But your support wish much much improvement!

vidma
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1688
Total Polls:
6
Total Posts:
5939
Dormant:
User Info:
 
Total Users:
6776
Newest User:
elvis3107
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