![]() |
|
WAP_REDIRECT_4.php - Mobile Redirects - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: WAP_REDIRECT_4.php - Mobile Redirects (/thread-6255.html) |
WAP_REDIRECT_4.php - Mobile Redirects - falsehope - 2009-12-09 Hello all, What I did was just insert the entire contents into the main index.php making sure to comment out the following lines ( , and the case statement that would redirect to my full 'PC' site). I also inserted a new browser identity "android". Now when I goto my photo site using my PC the WAP_REDIRECT code is not ran and I get the full site. When I use my G1 android phone I get redirected to my mobile site, sweet. So yes, I use two sites photo.com and m.photo.com which shares the album directory and uses a different theme. The theme I'm using on the mobile site is the ZeniPhone one from the themes section. Anyway, I just thought I would share this... |