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.

 

[solved] I get a different template on first page loaded

[solved] I get a different template on first page loaded

Hello,

I set two different templates for Guest and Registered users. Everything is fine, but when user closes the site without logout and come back some hours later, by loading the site, he's always logged in but the template for Guest is applied, if user loads the site again, he can get the right template. I enabled debug mode. I discovered that at the first loading page, the two templates have SUCCESS rules, i mean rules for Joomla groups Guest and Registered for example are on SUCCESS while user is actually logged in.

Help please.

wins
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Re: [solved] I get a different template on first page loaded

I think it is related to cookies or sessions. Someone can help me ?

wins
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Re: [solved] I get a different template on first page loaded

Hi,

I think that the issue is related to plugins. Specifically, there's a system plugin called "remember me". Place this as the 1st plugin in the list:

- filter by system plugins
- click at the top of the far left column
- use the "handle" to drag the "remember me" plugin to the top of the list.

After you have done that, the remember me plugin will have a chance to log the user in before Chameleon starts operating, so Chameleon will see the user as logged in.

Cheers,
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

Re: [solved] I get a different template on first page loaded

SOLVED :+)
Thank you metamodguy.

wins
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
4
User Info:
 
Total Users:
4378
Newest User:
miller2341
Members Online:
0
Guests Online:
150

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