Hello Team!!
I has change the website design to see iphone default magento template in Configuration -> Design -> Theme, adding exceptions on Templates, Skin, Design and Default fields.
When save this settings i have the following error in mobile browser:
"Fatal error: Call to a member function isHomepage() on e non-object in …/app/design/frontend/default/jm_rasite/template/catalog/navigation/top.phtml on line 40"
Any help or suggestion??
Regards,
Richardmax
1 answer
You should copy top.phtml from app/design/frontend/default/jm_rasite/template/catalog/navigation/ to app/design/frontend/default/iphone/template/catalog/navigation/ and remove this code:
Code:
<?php if ($tmpTools->isHomepage()===FALSE) { $homecls='class="nav-home"'; } else { $homecls='class="nav-home active"'; } ?>
It will help.