10390 Posts in 2201 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 804 Views |
-
Mobile module login form using main theme

29 November 2010 at 10:33am
Hi all,
The site I'm developing is using a custom theme. At the same time I am also using the new mobile module to develop a customized mobile theme for the site.
This is working great so far! Except for one thing.I have a need to allow users to log into the site even when they are using a mobile device. So, when I display the login form on the mobile device, it is using the main site's theme and not the mobile site's theme.. and I have no idea why.
I've created a Security_login.ss template like I would when customizing any other theme.. but it is always using the main site's theme.
Any ideas why this would be?Thanks in advance!!
-
Re: Mobile module login form using main theme

29 November 2010 at 7:37pm Last edited: 29 November 2010 7:43pm
Try adding this to the bottom of your mysite/_config.php file:
Object::add_extension('Security', 'MobileSiteControllerExtension');
There may be undesirable side-effects by doing this, as I haven't tested it.
However, give it a go and see if it works for you!
Cheers,
Sean -
Re: Mobile module login form using main theme

29 November 2010 at 7:43pm
Thanks Sean!
That was it
Cheers
Allan
| 804 Views | ||
|
Page:
1
|
Go to Top |


