I'm implementing a mobile version of an existing site. I'm using the jquerymobile module to make this happen. The constraints of the problem are:
- The main site has a header that appears on every page when on the non-mobile site.
- We show a limited version of the header on the splash page in the mobile version.
- On the subsequent pages, I want to suppress the header entirely.
1 and 2 are already implemented. #3 is proving to be harder than anticipated. The main reason is due to either my lack of understanding how the module works or some flaws in the module itself.
I'm not using the main menu for nav in the app. Because we potentially have more items across the top of the page than the main screen will handle, we use "nice menus" as a replacement for the main menu.
THE ISSUE: When I tap or click a menu item, I go to the proper page. But the front class is not being updated and I've tried to use a *hook_page_alter* and *hook_node_alter* to detect when the new page is being displayed with no luck.
I need to figure out how to detect the when the new page is being displayed and suppress the header before output.
Has anyone had any experiences like this? Any suggestions would be very welcome.
Thanks in advance!
Scott.