Being uploaded today!
This is simply the template_default template made responsive, I wanted to upload this for those of you that like to design your own templates.
Being uploaded today!
This is simply the template_default template made responsive, I wanted to upload this for those of you that like to design your own templates.
Excellent.
http://www.zen-cart.com/downloads.php?do=file&id=1724
This template package comes fully loaded with (NOTHING)!
This template package should only be used for reference in making your own template responsive or as a starting point for designing your own template. There a no added plugins or any bells and whistles included in this template package.
The ONLY (4) files needed on the catalog side are within the (common folder).
I included code to disable left & right column on the login page and right column on the shopping cart page (don't panic)! You should know where to change the code. HINT, the tpl_main_page.php file.
You do need to (RUN) the sql_patches.sql code in your admin (Tools > Install SQL Patches) to add a configuration to activate the responsive code (Doing this overrides the stock Column Width - Left/Right (Boxes) configuration).
I have also included the ADMIN layout_controller.php file (which is optional), this will allow you to hide/show side boxes at min-width from the ADMIN > TOOLS > LAYOUT BOXES CONTROLLER page.
If you choose not to use the side box min-width controller you do not need to include the ALTER TABLE query code within the sql_patches.sql file or the (2) files within the modules folder.
This code has been tested by others and myself but doesn't mean you will get the same results. Please remember going responsive alters the layout in many ways and many (APPEARANCE) plugins will most definitely need CSS tweaking.
A DEMO of what to expect can be found @ http://www[.]zcadditions[.]com/responsive_default/
I hope this question hasn't been asked, but I am interested in playing around with the responsive template stuff, and I'm wondering if I understand the install properly. Is it the case that if I run the sql, and it flicks on the Layout Settings switch, if I come to a point where I don't want to use it, I can turn it off there. Is this correct?
Great. Thanks. And thanks for the responsive template stuff. Worth playing about with.
Hi Raymond
Just a newbie question, How does the browser or phone know what size the screen is or is this done in a dynamic environment.
also do you need to do a new site/store.
Thankyou for the contribution.
Peter
Bookmarks