Excellent post, Escaping.
Unfortunately, between my work and my family I don't have time to work on this contribution.
So, if anyone would like to continue support the add-on, you are more then welcome
Here is the svn for the latest code: GoogleCode
Yes. Every page should be redirected to corresponding mobile page for most mobile devices.
Automatic redirect for mobile browsers add this lines to the end of your
catalog/includes/ application_top.php
file
define(DIR_MOBILE_CLASSES , 'mobile/includes/classes/');
require(DIR_MOBILE_CLASSES . 'mobile_redirect.php');
$mobileRedirect = new mobileRedirect;
You have a custom combo box "product_qty", this box is not in mobile version. That might be a problem.
you should include product_qty to mobile_product_info.php as well
Most of the time if site shows some weird behavior, it's due conflict with other contributions.
Please send me links to your site and we will try to solve those issues one by one.
Sometimes I'm not around for few days, so please be patient ;)
By default for WAP browsers I'm trying to redirect every page to mobile version (if exists)
Logic is in mobile/includes/classes/mobile_redirect.php
If you want to suppress redirect you call any page with
$_GET['redirectCancelled'] == 'true'
PiLLaO, jholdersatx
Thank you.
Changes in v2.0c
This is Release v2.0c(beta) of iOSC - mobile version of OSCommerce for iPhone.
More errors in AJAX part resolved. Ajax i disable by default right now.
To initialize AJAX go to catalog/mobile/includes/configure.php
and replace last line with
define ('AJAX_ENABLED', false);
Bad link in PC Site button corrected.
http://addons.oscommerce.com/info/6529
This is Release v2.0(beta) of iOSC - mobile version of OSCommerce for iPhone.
Previous version of iOSC had to many compatibility problems because mobile files where located in separate subdirectory.
This is different approach and all mobile files are located on the same catalog.
Please , give it a try and let me know about any issues.
Thanks.
It would be fun,but seems like a lot of work. Admin site of OSC is few times bigger then customer's site.
So, I guess, my answer is: "Not now" :-)
I'm working on new version (v2.0 beta), where mobile files will be located in the same catalog directory, instead of putting them to categories/mobile.
I hope it will solve most of problems , related to incompatible plugins.
I hope to release it in a couple of weeks
includes/version.php and templates//default/boxes.tpl.php files are not found inside mobile directory. Those are not standard OSC files and part of some other plugin. You could copy them inside mobile directory and see if it solve the problem. Currently iOSC Mobile is not compatible with CRE Template plugin