If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Templates / Responsive Cold Steel Template for v1.5.x

Responsive Cold Steel Template for v1.5.x

Started by rbarbour on 30 Aug 2013, 3:06 AM · Views: 11,272

Results 1 to 20 of 39
30 Aug 2013, 3:06 AM
#1
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #1 by rbarbour

Being uploaded to today!

Designed by Clyde Jones and modified for Zen Cart version 1.5* by dbltoe

Made responsive by ME!

Features:

  • Fixed width 2 column display (requires you to use the global disable function now)

  • Colors: Styled in Black, White and Gray.

  • Customized button set included.

  • Per-page CSS stylesheets to style individual pages.

  • Better Categories Sidebox installed.

  • Order Steps (Tableless) installed.

  • Column Divider Pro installed. (hides @min-width)

  • Date displayed in the header.

  • Re-designed Login page included.

  • Only addition to the original CSS file was to add code for the div style product listing page

  • I also included the SNAF drop down sorter @min-width and hides product listing headers (COOL FEATURE IMHO)

  • Do to background images not being responsive they where converted to CSS and will only change in responsive mode.

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.

A DEMO of what to expect can be found @ http://www[.]zcadditions[.]com/111/

30 Aug 2013, 3:34 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #2 by rbarbour

ADMINS can you change the following:

add (v151) for the version

add (for 1.5.x) to the thread title

Thank you

5 Sep 2013, 9:00 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #4 by frank18

Raymond, just looked at the docs folder of this download and noted this:

(T) includes \ modules \ respon_classic_silver \ column_left.php
(T) includes \ modules \ respon_classic_silver \ column_right.php
(T) includes \ modules \ respon_classic_silver \ product_listing.php
(T) includes \ templates \ respon_classic_silver \ common \ tpl_box_default_left.php
(T) includes \ templates \ respon_classic_silver \ common \ tpl_box_default_right.php
(T) includes \ templates \ respon_classic_silver \ common \ tpl_tabular_display.php
(T) includes \ templates \ respon_classic_silver \ css \ responsive.css

(R) INSTALL_DOCS \ Responsive_Cold_Steel_Template_Installation.htm

Shouldn't that read cold_steel - may be? :huh:

Copy and paste error - me thinks..

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Sep 2013, 6:11 PM
#5
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #5 by rbarbour

frank18:

Raymond, just looked at the docs folder of this download and noted this:

Shouldn't that read cold_steel - may be? :huh:

Copy and paste error - me thinks..

Cheers / Frank

You would be correct, copy and paste error only in my installation.htm file

The file structure was not changed and will still upload correctly though. I will update the readme and re-submit.

Thanks Frank

23 Sep 2013, 3:30 PM
#6
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #6 by rbarbour

The DEMOS will be back up by days end, just doing some internal upgrades.

8 Oct 2013, 3:04 PM
#7
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Post #7 by pazaz

Hi

I think Ive done everything correctly but when I look at my site in my mobile phone it doesnt change to responsive?
Zen 1.5.1, Ive uploaded new files, admin files and run the sql file and reset layout changes ??

Any ideas?
http://www.ellimaecushions.com/shop

8 Oct 2013, 3:08 PM
#8
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Post #8 by picaflor_azul

Pazaz:

Hi

I think Ive done everything correctly but when I look at my site in my mobile phone it doesnt change to responsive?
Zen 1.5.1, Ive uploaded new files, admin files and run the sql file and reset layout changes ??

Any ideas?
http://www.ellimaecushions.com/shop

Did you tun on the responsive layout in admin--configuration--layout settings?

Thanks,

Anne

8 Oct 2013, 4:30 PM
#9
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Post #9 by pazaz

Thanks Anne

I was in Layout Boxes Controller and thought I had done enough :)
That's it working now!

8 Oct 2013, 6:15 PM
#11
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #11 by rbarbour

picaflor-azul:

I am happy that you figured it out ;)

Thanks,

Anne

Thank you Anne!

27 Oct 2013, 4:09 PM
#13
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Post #13 by vanhorn_s

I just removed my old cold steel, and installed this one. First, my tpl_absolute links no longer works, so I had to disable it.

[27-Oct-2013 09:49:04] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/sideboxes/tpl_absolute_links.php' (include_path='.:/usr/lib64/php:/usr/share/pear') in /home2/redsauto/public_html/includes/modules/sideboxes/absolute_links.php on line 16
Second, I don't see:admin--configuration--layout settings
Under configuration, the only one that I see, is: ACTIVATE Responsive Template by selecting Column Widths
When I change any of the settings in the column widths, my main page information loads at the bottom of the page.

27 Oct 2013, 4:19 PM
#14
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #14 by rbarbour

vanhorn_s:

I just removed my old cold steel, and installed this one. First, my tpl_absolute links no longer works, so I had to disable it.

This must be a custom side box, it is not part of the original or responsive install.

vanhorn_s:

Second, I don't see:admin--configuration--layout settings
Under configuration, the only one that I see, is: ACTIVATE Responsive Template by selecting Column Widths
When I change any of the settings in the column widths, my main page information loads at the bottom of the page.

ADMIN (YOUR ACTUAL ADMIN) > CONFIGURATION (usually first link in your admin drop-down menu) > Layout Settings (is a link under configuration)

I am not sure what you don't see.

If your main content loads towards the bottom - this usually indicated an extra div or unclosed div somewhere in your HTML source.

A link to your site would help me better troubleshoot the issues you are having.

27 Oct 2013, 4:24 PM
#15
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Post #15 by vanhorn_s

I am sorry, I am very tired right now, and I was in Layout settings.
I just set it to 75px, so that you can see what it is doing.

https://www.redsautorehab.com

27 Oct 2013, 4:40 PM
#16
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Post #16 by vanhorn_s

Also, my header image no longer loads. I used winmerge to copy the changes I have made, and my header image used to work with:

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'redsautorehab');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '');
define('HEADER_LOGO_HEIGHT', '');
define('HEADER_LOGO_IMAGE', '32ford.jpg');

Right now, includes/languages/english/cold_steel/header.php is identical to the old one, and that is the only change I made.
I beleive that I need to set the height, and width, I am just not sure why it was working before.

27 Oct 2013, 4:40 PM
#17
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #17 by rbarbour

vanhorn_s:

I am sorry, I am very tired right now, and I was in Layout settings.
I just set it to 75px, so that you can see what it is doing.

https://www.redsautorehab.com

That is common with the responsive code:

It looks like you have an extra closing div (</div>) in tpl_main_page.php

Should be somewhere around here in that file:

<div class="<?php echo $column_width_span; ?>">
<?php
 /**
  * prepares and displays left column sideboxes
  *
  */
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?>
</div>
<?php
}
?>

Viewing your HTML source (I use FF) left click anywhere on your screen and click the View Page Source link

You will see that extra closing </div>

27 Oct 2013, 4:46 PM
#18
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #18 by rbarbour

vanhorn_s:

Also, my header image no longer loads. I used winmerge to copy the changes I have made, and my header image used to work with:

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'redsautorehab');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '');
define('HEADER_LOGO_HEIGHT', '');
define('HEADER_LOGO_IMAGE', '32ford.jpg');

> 
> Right now, includes/languages/english/cold_steel/header.php is identical to the old one, and that is the only change I made.
> I beleive that I need to set the height, and width, I am just not sure why it was working before.

Make sure that the header.php file exists (\includes\templates\cold_steel\common\tpl_header.php)

looks like your image is being called from template_default

/includes/templates/template_default/images/32ford.jpg
27 Oct 2013, 5:05 PM
#19
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Post #19 by vanhorn_s

rbarbour:

It looks like you have an extra closing div (</div>) in tpl_main_page.php
This is the file from the download, and the only instance I can see of a second </div>
Lines 258-272

<div class="<?php echo $column_width_span; ?>">
<?php
 /**
  * prepares and displays right column sideboxes
  *
  */
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?>

</div>
<?php
}
?>
</div>
<?php } ?>
27 Oct 2013, 5:09 PM
#20
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #20 by rbarbour

vanhorn_s:

This is the file from the download, and the only instance I can see of a second </div>
Lines 258-272

<div class="<?php echo $column_width_span; ?>"> <?php /** * prepares and displays right column sideboxes * */ ?> <?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?> </div> <?php } ?> </div> <?php } ?> ```

No that is good.

Further up look by the

<?php
 /**
  * prepares and displays left column sideboxes
  *
  */
?>