![]() |
|
Starting a iPhone Theme - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Starting a iPhone Theme (/thread-4095.html) |
Starting a iPhone Theme - micheall - 04-11-2010 a quick question on this: your install instructions say to unzip it to the zp-extensions folder, did you mean the root/plugins folder? if not, putting it in zp-extensions will likely cause it to be deleted if a user upgrades their gallery as zp has migrated away from this creating a user plugin folder located off root directory Starting a iPhone Theme - gdodinet - 04-11-2010 Thanks, i missed that (although i now remember reading it). I've updated the instructions as per your advice. Starting a iPhone Theme - acrylian - 04-11-2010 All third party plugins should go into the plugins folders. I will create an extensions entry for this later. Please try to keep the plugin page persistent, I yesterday had to fix the links to all your themes as the direct links vanished. Note we don't check these regulary. Starting a iPhone Theme - gdodinet - 05-11-2010 Hi, Acrylian, Sorry about that. I will try to keep the links persistent. Thanks Starting a iPhone Theme - wirecutter - 06-11-2010 hmmm.. ok. downloaded the theme and it doesn't seem to be working for me. I was using the iphone theme and the hacked functions.php. I restored the original functions.php and installed the mobile_theme_filter. (I did not install the detectmobile browsers script.) I activated the plugin and configured it. I selected the iphone theme as the mobile theme. Any troubleshooting tips? Starting a iPhone Theme - wirecutter - 06-11-2010 ok. so it does work if I install the detectmobile browsers script. So the fallback implementation isn't working. Looking into that now... Starting a iPhone Theme - gdodinet - 07-11-2010 Hi, wirecutter. Thanks for reporting this. I can reproduce the problem you describe (using firefox ua-switcher). The problem is located at line 142. You should replace Regards Starting a iPhone Theme - wirecutter - 08-11-2010 Hello again, If anyone is interested: I ended up rewriting th emobi_detectmobilebrowsers function. My version is below: ` function mobi_detectmobilebrowsers($ballot) { //http://zytrax.com/tech/web/mobile_ids.html //http://my.opera.com/community/openweb/idopera/
} ` Starting a iPhone Theme - gdodinet - 09-11-2010 Hi wirecutter, Thanks for providing this implementation and those links. I will try to integrate your code this week-end, if you don't mind. Regards Starting a iPhone Theme - omatzyo - 20-11-2010 Hi! Nice work guys!! I've never been comfortable with the way that worked. Looks like you're close to a great solution. Once you're happy with your code, I'll update the zenphotoiphone page with links. Thanks again! |