Zen Cart Logo
Forums / Addon Templates / Responsive Sheffield Blue v2.0

Responsive Sheffield Blue v2.0

Views: 309,787

Results 961 to 980 of 1,514
15 May 2016, 2:19 PM
#961
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

rbarbour:

Now, suddenly, my images have lost the ability to be able to show the 2nd or 3rd image. I re-uploaded the "colorbox.php" file and that did not solve the problem. I would really like to "solve" this one as my customers need to see the images that I present. Again, no idea what to do.

The website is: https://www.mygiftsite.com

Thank you,

Silver

15 May 2016, 4:33 PM
#962
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Responsive Sheffield Blue v2.0

SilverHD:

rbarbour:

Now, suddenly, my images have lost the ability to be able to show the 2nd or 3rd image. I re-uploaded the "colorbox.php" file and that did not solve the problem. I would really like to "solve" this one as my customers need to see the images that I present. Again, no idea what to do.

The website is: https://www.mygiftsite.com

Thank you,

Silver

As suggested

open:

includes/templates/responsive_sheffield_blue/common/html_header.php

find this:

/**
 * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
  while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
  }

  /** CDN for jQuery core **/
?>
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"%3E%3C/script%3E'));</script>
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'); ?>/jquery.min.js"%3E%3C/script%3E'));</script>

change to:

  /** CDN for jQuery core **/
?>

<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"%3E%3C/script%3E'));</script>
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'); ?>/jquery.min.js"%3E%3C/script%3E'));</script>

<?php
/**
 * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
  while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
  }

?>

The current package has the jQuery CDN loading after the site-wide jscript_* files, everything should work as expected if you make that change.

15 May 2016, 5:25 PM
#963
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

I copied the code and am getting something strange at the top of the site.

This is how the code turned out after I copied it. Did I do something wrong:

}

        /** CDN for jQuery core **/
        ?>

        <script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"%3E%3C/script%3E'));</script>
        <script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'); ?>/jquery.min.js"%3E%3C/script%3E'));</script>

        <?php
        /**
         * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
         */
          $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
          while(list ($key, $value) = each($directory_array)) {
            echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
          }

        ?>

Doesn't look like what you had given,

Silver

15 May 2016, 5:34 PM
#964
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

I replaced the obvious mistake of YOURTEMPLATE with responsive_sheffield_blue and it still has the "blob" at the top.

Silver

15 May 2016, 5:42 PM
#965
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

rbarbour:

Removed some crazy script that somehow got in there. It appears that everything is fine!

Thank you,

Silver

15 May 2016, 5:56 PM
#966
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Responsive Sheffield Blue v2.0

SilverHD:

rbarbour:

Removed some crazy script that somehow got in there. It appears that everything is fine!

Thank you,

Silver

I'm glad you got it working!

15 May 2016, 6:42 PM
#967
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

So am I

Thanks much,

Silver

16 May 2016, 11:04 PM
#968
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: Responsive Sheffield Blue v2.0

picaflor-azul:

Ok, there seems to be a bug in the auto installer plugin I used. For now you can delete these 2 lines from your admin/includes/init_includes/init_responsive_sheffield_blue.php line 99 and 100:

// delete configuration menu
$db->Execute("DELETE FROM ".TABLE_ADMIN_PAGES." WHERE page_key = '".$admin_page."' LIMIT 1;");

> 
> I'll have to wait a while before submitting an update to the template package.  I have been told that it is not good to submit an update and then another update a few days later ;)
> 
> Thanks,
> 
> Anne

Now would be a great time to do this!
17 May 2016, 12:32 PM
#969
cupolas avatar

cupolas

New Zenner

Join Date:
Feb 2010
Posts:
1
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Hi...I have installed the Sheffield Blue template and I want to change the BUY NOW black buttons to something else like ENROLL NOW or simply ADD TO CART...however there don't seem to be any gif files in this template to modify the buttons....I am thinking these buttons are built on the fly with a text string inserted? Please help?

17 May 2016, 3:15 PM
#970
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

includes/templates/resp Sheff Blue/jscript/jqueryui.js

Not being one to leave well enough alone, I was fiddling with adding Product Attribute Grid to this template. I used it back in zc 1.3.8 days and liked it even though I have only few products that used it. When I installed the latest version on my test site I soon realized it didn't display nicely (as is) with the current product info display because the grid is squooshed into a side column. But also all my products, most of which are OOAK, had quantity select quantity scroller that allowed unlimited quantity selection which wouldn't be caught until checkout. So I uninstalled the mod, but the quantity selection spinner remained and I was unable to make changes via the admin/config/stock or /product_info settings (even with cleared cache). Truthfully I don't know if this mod triggered this or if I mucked something else up in the process, but here's the thing:

Firebug showed me that I now had a ui-spinner at work. I checked my live site and there was no such thing. Looking at my files - on the live site my jqueryui file is 156 KB while on test site it is 426 KB. Further exploring and I find my original Resp Sheffield Blue file is the same 426 KB as my test site. I have no idea why the file on my live site is smaller than on the original template files and on my test site. I keep pretty good notes when I make changes and I don't see anything and non of the other mods I use have this file,nor was the file part of the Prod Attrib Grid mod. Looking at the files with WinMerge I can see humongous section of code absent on the live site (bottom) yet the header info on the file is the same.

I don't understand jquery at all.

So my question: is a jquery file fluid - changing according to what is called for by different config settings or mods added?

17 May 2016, 7:55 PM
#971
valvegal avatar

valvegal

New Zenner

Join Date:
Oct 2015
Location:
Iowa
Posts:
5
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Thank you for explaining this so well. I have been looking for this solution for awhile! This worked perfectly!:smile:

18 May 2016, 7:15 PM
#972
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Hi Anne,

I installed the template, looks good, then I was making some changes and all of a sudden I cannot access my store. I can logon to my admin but I get a 500 error in my store
https://www.benzbonz.biz/store

18 May 2016, 7:24 PM
#973
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

The https://www.benzbonz.biz page isn’t working

https://www.benzbonz.biz is currently unable to handle this request.
500

18 May 2016, 7:33 PM
#974
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

It was me removing payment options I think, working now

19 May 2016, 1:12 AM
#975
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,683
Plugin Contributions:
56

Re: Responsive Sheffield Blue v2.0

jpda:

The file mentioned above is: YOUR_ADMIN_FOLDER/includes/init_includes/init_responsive_sheffield_blue.php .
Currently starting at line 30:

$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
                ('Version', '" . $module_constant . "', '0.0.0', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
    ('Home Page Slideshow', 'RSB_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), 'zen_cfg_select_option(array(\'true\', \'false\'),', NULL),
    ('EZ Pages in Header Menu', 'SHOW_EZ_PAGES_MENU', 'true', 'Shows the menu option for EZ pages/important links in the header menu', " . $configuration_group_id . ", 3, NOW(), NOW(),'zen_cfg_select_option(array(\'true\', \'false\'),', NULL);");
> 
> Replace by:
> ```php
    $db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
                    ('Version', '" . $module_constant . "', '0.0.0', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
	    ('Home Page Slideshow', 'RSB_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
	    ('EZ Pages in Header Menu', 'SHOW_EZ_PAGES_MENU', 'true', 'Shows the menu option for EZ pages/important links in the header menu', " . $configuration_group_id . ", 3, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),');");

This change will NOT resolve the issue if the template has been installed already. You might want to apply it to the distributed file for future installs. To immediately solve the issue, change the values in the database using phpadmin or your favourite equivalent.
Always BACKUP your database before making changes!!

Thanks,

jpda

This still needs to be fixed, particularly if the module is not going to continually re-install itself.

19 May 2016, 1:14 AM
#976
frank18 avatar

frank18

Deceased

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

Re: Responsive Sheffield Blue v2.0

Just installed this template on a local store and noted that in admin all the modules (shipping, payment etc) were showing 'Flexible Footer Menu' as the heading title.

So I simply changed a couple of files:

  1. Your_Admin/includes/languages/english/extra_definitions/flexible_footer_menu.php around line 11
define('HEADING_TITLE','Flexible Footer Menu'); 

changed to

define('HEADING_TITLE_FLEXIBLE_FOOTER_MENU','Flexible Footer Menu');

Then in Your_Admin/flexible_footer_menu.php around line 142

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

changed to

<td class="pageHeading"><?php echo HEADING_TITLE_FLEXIBLE_FOOTER_MENU; ?></td>

and that fixed the headings for all modules in admin.

I vaguely remember that this was also an issue in other responsive templates (Westminster New ???) - not sure.....

19 May 2016, 4:34 PM
#977
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

I have my sheffield blue template working now. It looks awesome thank you Anne.
Some issues I've come across.

  1. Clicking on a category or subcategory that does not have an image file, you MUST click on the text, clicking just in the box doesn't take you anywhere.
  2. On a tablet, the category drop down box goes away after about 3 seconds.
    A few smaller issues, but they're probably me not knowing what I'm doing.
    But none the less a 100% improvement over my old zen cart store. thanks again
19 May 2016, 8:51 PM
#978
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

I found another issue that I need help with.
When main_page=no_account I get
In the new account wrong things are displayedAttachment 16325

19 May 2016, 9:38 PM
#979
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Frank18:

Post #976:

"Just installed this template on a local store and noted that in admin all the modules (shipping, payment etc) were showing 'Flexible Footer Menu' as the heading title."

Just wanted to say "Thanks Much" for this contribution. Really appreciate it. got that straightened out now!

Kind regards,

Silver

19 May 2016, 11:44 PM
#980
frank18 avatar

frank18

Deceased

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

Re: Responsive Sheffield Blue v2.0

SilverHD:

Frank18:

Post #976:

Just wanted to say "Thanks Much" for this contribution. Really appreciate it. got that straightened out now!

Kind regards,

Silver

My pleasure :smile: