Hello everybody.
I have a website based on Joomla 2.5 and I installed mobile joomla.
I have enabled the mobile switcher in the footer, so that I can switch to mobile_basic template by clicking on "mobile" link.
The mobile link is built as <desktopurl>/?device=mobile. If I click on the mobile link, the switch to the mobile_basic template works only if I am in the home pages. In the other pages the template remains the desktop one, even if I see the "/?device=mobile" markup in the browser address bar. After playing around I found that, in the function onAfterRoute() in /plugins/system/mobilejoomla/mobilejoomla.php, the condition ($mjDevice->markup === false) is verified, and this causes the template not be set.
This condition is not verified when I'm in the home page.
How can I solve it? If somebody wants to help I can give you privately the website. Best regards Alberto
I have a website based on Joomla 2.5 and I installed mobile joomla.
I have enabled the mobile switcher in the footer, so that I can switch to mobile_basic template by clicking on "mobile" link.
The mobile link is built as <desktopurl>/?device=mobile. If I click on the mobile link, the switch to the mobile_basic template works only if I am in the home pages. In the other pages the template remains the desktop one, even if I see the "/?device=mobile" markup in the browser address bar. After playing around I found that, in the function onAfterRoute() in /plugins/system/mobilejoomla/mobilejoomla.php, the condition ($mjDevice->markup === false) is verified, and this causes the template not be set.
This condition is not verified when I'm in the home page.
How can I solve it? If somebody wants to help I can give you privately the website. Best regards Alberto