linuxguy2:
norber
I carefully read your original post and see the ZC & FEC version info.
Assuming the mobile version is a plugin. Because the URLS have shopping_cart and checkout_shipping in them those two files must be modified or have override files.
Check you mobile zip file and see if they exist or the instructions say to modify them.
LinuxGuy2, Kobra, SouthShorePizza; first of all, thanks for taking the time to read and help me, guys.
Well, what i did the last hours was to check the files looking for all the requires from the beggining.
That is, from the index.php in the root of the site. May be its an excercise on futility but im running out of options.
I put some echoes in the page to see what its loading each time:
To not confuse you, i will name the template folders as "web_template" and mobile_template". Heres what ive found:
require($code_page_directory . '/' . $value);
includes/modules/pages/index/
require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
includes/templates/mobile_template/common/html_header.php
require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
includes/templates/mobile_template/common/main_template_vars.php (*)
The funny thing, is that after the line above, if i put:
echo DIR_WS_TEMPLATE;
i got "includes/templates/web_template", INSTEAD OF "includes/templates/mobile_template"
and, after that, if i put
echo $current_page_base;
i got "index";
(*) on includes/templates/mobile_template/common/main_template_vars.php i put another echo to get where it was pulled the body code:
includes/modules/pages/index/main_template_vars.php
That folders structure doesnt come in the zip, so i think that its not overwritten by the installer
Regarding the instructions on the zip of the mobile, i got:
- Extract the contents of the zip file you've just downloaded.
- Put the entire folder
zencart-mobile-install in the root directory of your zencart installation.
- navigate to YOURSITE.com/YOUR_ZENCART_INSTALL_DIRECTORY(usually cart or store) /zencart-mobile-install/
- Choose a username and password for the mobile configuration tool.
- Select your mobile logo image and your colors and let the installer do the rest.
- Enjoy a fully functional mobile version of your website!
Seems that the installer copies and overwrites files, but the problem is to know which ones.
Inside the zip theres another zip (?) with the template files. Seems that the first "stage" of the zip is the installer itself that deflates and copies the contents of the one that is inside it.
Regarding if it is under the template or plugin category, the creators (http://www.mobilezencart.com/) define it as a "module".
Thanks again guys.