tgmorris |
02-18-2009 10:51 AM |
Quote:
Originally Posted by dartho
(Post 1747354)
To disable (in a manner of speaking) vBadvanced, edit the adv_portal template in the mobile style and replace it's contents with the following or something similar:
|
Alternatively, one can create a vBadvanced wap based page (I use just the calendar for events and recent threads) just for mobile devices. Then, add the plugin for mobile detection to the vba_cmps_include_getpage hook and the add a bit of additional logic to it.
Code:
if ($pda==1 || $ipod==1 || $custom1==1)
{
$mobile=1;
}
if ($mobile==1 && $getpage=='home')
{
$getpage='wap';
}
If the desired device is identified and you are on the default vBa home page the page will be reassigned to the wap page identifier.
The only other thing that could be needed is to modify the mobile style header to allow a way to get back to the vBa home page.
|