Forums / Addon Templates / Responsive Sheffield Blue v2.0

Responsive Sheffield Blue v2.0

Views: 310,571

Results 181 to 200 of 1,514
6 Jul 2015, 1:23 PM
#181
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

Attachment #15409Some suggestions:
1: the header_2 banner is in a wrong position and overlaps the languages flags;
2: if I delete the "sales message" my logo is over the browser head, so I've changed the text with an image (5 stars)
3: I've this pages "stores" (a list of my sub-resellers) retrieves many times ago from zencart plugin page, that not works well with sheffield template (here works fine http://www.100asa.it/stores)
Can you help me to solve this issue?

6 Jul 2015, 7:23 PM
#182
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Responsive Sheffield Blue v2.0

picaflor-azul:

I just submitted a completely new, updated version of the template package. The template has been updated to use the latest version of the DIY Template Default by rbarbour. Special thanks to him for putting together the framework for this responsive package. This latest version uses the advanced PHP Mobile Detect Script to serve up the optimized layout based on device. Also, thanks to DivaVocals for the AddtoAny zen cart plugin. Please see the readme.html file for a full list of credits for the package.

Well that's what ya call being too busy.. I've been too busy to stalk you (as I often do..:laugh:) I missed this template announcement all together.. Glad ya like the AddtoAny module.. So much better than AddThis (IMHO).. and I LOVE this new template.. Gonna have a play with it soon..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

9 Jul 2015, 7:52 PM
#183
enid_mchorse avatar

enid_mchorse

New Zenner

Join Date:
Jan 2014
Location:
Fresno, California, United States
Posts:
10
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Thank you so much Anne, your templates are awesome! I have used Responsive Sheffield Blue on 2 websites https://www.vitabuilding.com a supplement store with over 6,000 products and https://www.greatartreproductions.com selling hand painted reproduction art. I have just installed Westminster New on https://www.timhedgesmusic.com a site for a musician/composer, he loves it. It is the perfect showcase for his music. You are amazing! Thanks so much for all of your hard work.

9 Jul 2015, 8:24 PM
#184
swguy avatar

swguy

Administrator

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

Re: Responsive Sheffield Blue v2.0

Enid, if you look at the links on this forum, you'll notice they're constructed with rel="nofollow". Repeatedly posting your client URLs is considered spamming; it's not helping your clients and it's annoying. Please stop.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 Jul 2015, 6:26 PM
#185
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

So I moved and edit the files per the instructions. When I click to preview the templet I get

Forbidden

You don't have permission to access /store/includes/templates/responsive_sheffield_blue/images/https://www.picaflor-azul.com/images/readme/responsive-sheffield-blue-demo.png on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

If I change to that template I get a blank page?

10 Jul 2015, 6:34 PM
#186
swguy avatar

swguy

Administrator

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

Re: Responsive Sheffield Blue v2.0

For the first issue, you need to adjust the permissions on the .png to make it readable by world.
For the second issue, please post the log from /logs.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 Jul 2015, 6:41 PM
#187
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

.png looks to be from their server
for the log

[10-Jul-2015 18:35:34 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function 'zen_cfg_select_option(array('true', 'false'),' not found or invalid function name in /home/cubmanky1/public_html/store/pjxsaj0jkn1ppb0e/includes/functions/general.php on line 1774

[10-Jul-2015 18:35:34 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function 'zen_cfg_select_option(array('true', 'false'),' not found or invalid function name in /home/cubmanky1/public_html/store/pjxsaj0jkn1ppb0e/includes/functions/general.php on line 1774

10 Jul 2015, 6:50 PM
#188
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

line 1772 thru 1776

function zen_call_function($function, $parameter, $object = '') {
if ($object == '') {
return call_user_func($function, $parameter);
} else {
return call_user_func(array($object, $function), $parameter);

10 Jul 2015, 6:51 PM
#189
swguy avatar

swguy

Administrator

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

Re: Responsive Sheffield Blue v2.0

Issue 1: See https://www.zen-cart.com/showthread.php?217203-Responsive-Sheffield-Blue-v2-0&p=1286467#post1286467

Issue 2 - search this thread to see if anyone else has reported this.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 Jul 2015, 8:18 PM
#190
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

You should change the name of your admin folder since you have published it online for the world to know.

MySecretAdmin/includes/functions/general.php

That file is not part of the SheffieldBlue template files (that I could see) so might not be template related.

Lines adjacent to 1772-1776

/**
 * Returns the tax rate for a tax class
 * TABLES: tax_rates
 */
  function zen_get_tax_rate_value($class_id) {
    return zen_get_tax_rate($class_id);
  }

  function zen_call_function($function, $parameter, $object = '') {
    if ($object == '') {
      return call_user_func($function, $parameter);
    } else {
      return call_user_func(array($object, $function), $parameter);
    }
  }

  function zen_get_zone_class_title($zone_class_id) {
    global $db;
    if ($zone_class_id == '0') {
      return TEXT_NONE;
    } else {
      $classes = $db->Execute("select geo_zone_name
                               from " . TABLE_GEO_ZONES . "
                               where geo_zone_id = '" . (int)$zone_class_id . "'");
      if ($classes->EOF) return '';
      return $classes->fields['geo_zone_name'];
    }
  }

////

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

12 Jul 2015, 1:40 AM
#192
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

jpda:

But there seems to be another problem in line 30, where the config keys for SHOW_EZ_PAGES_MENU and RSB_SLIDER_STATUS are inserted: the value zen_cfg_select_option(array....etc. should be put in set_function, and use_function should be NULL.
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:

    $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

12 Jul 2015, 2:41 AM
#193
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Sorry delete post

12 Jul 2015, 2:51 AM
#194
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

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

Thanks for posting about the error. I'll be sure to include the fix in a future template release.

Thanks,

Anne

12 Jul 2015, 3:53 AM
#195
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

😂. So no way to uninstll and reinstall to fix the issue. So now I have to figure what in the dbs to fix. > 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

13 Jul 2015, 3:17 AM
#196
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

cubmanky:

������. So no way to uninstll and reinstall to fix the issue. So now I have to figure what in the dbs to fix.
You can fix the dbs. BACKUP your dbs! You have been warned!
In admin goto to Tools>Install SQL patches.
Copy/paste the following code in the box and click 'Send'.
You should see a green bar telling you "4 statements processed".

/* set use_function and set_function in configuration with key = rsb_slider_status */
UPDATE configuration SET use_function = NULL WHERE configuration_key = 'RSB_SLIDER_STATUS';
UPDATE configuration SET set_function = 'zen_cfg_select_option(array(\'true\', \'false\'),' WHERE configuration_key = 'RSB_SLIDER_STATUS';
/* set use_function and set_function in configuration with key = show_ez_pages_menu */
UPDATE configuration SET use_function = NULL WHERE configuration_key = 'SHOW_EZ_PAGES_MENU';
UPDATE configuration SET set_function = 'zen_cfg_select_option(array(\'true\', \'false\'),' WHERE configuration_key = 'SHOW_EZ_PAGES_MENU';

In admin goto Configuration>Responsive Sheffield Blue Configuration. You will notice the difference. Values are visible and when you edit, you see the radio buttons.
Good luck!

Thanks,

jpda

13 Jul 2015, 3:34 AM
#197
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

picaflor-azul:

Thanks for posting about the error. I'll be sure to include the fix in a future template release.

Thanks,

Anne

My pleasure, your templates are awesome! I am happy to contribute a bit.

Cheers,

jpda

15 Jul 2015, 12:57 AM
#198
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Thanks for the help, Yes I'm new and google and search are my friends.
Can not find how to do the following
Remove the search from the tabs across the top?
Edit what social links are shown and edit the links they have attached to them.

I rad on how to remove the title from showing on the banners, I got this to work on pc but not when i go mobile.
http://www.thecubden.org/store/

15 Jul 2015, 1:29 AM
#199
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

cubmanky:

Thanks for the help, Yes I'm new and google and search are my friends.
Can not find how to do the following
Remove the search from the tabs across the top?
edit includes/templates/responsive_sheffield_blue/common/tpl_header.php

Look for the code

<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
``` and comment it out.


> Edit what social links are shown and edit the links they have attached to them.
 Look under tools, flexible footer menu in your admin.  Edit those in column 3.  Change her links to your links.

> I rad on how to remove the title from showing on the banners, I got this to work on pc but not when i go mobile.
Which title?  I'm using a different one of her templates but they have similarities.
15 Jul 2015, 2:58 AM
#200
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

For includes/templates/responsive_sheffield_blue/common/tpl_header.php I changed the line as below but it still shows.

/*<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> */
Changes I make to tpl_header.php do I need to copy that changes also to tpl_header_mobile.php and tpl_header_tablet.php

I went to includes\templates\responsive_sheffield_blue\css\stylesheet_flex.css I changed line 50 to

.banner span {background-color: rgba(255, 255, 255, 0.2);color: #000;bottom: 0px;height: auto;line-height: normal;text-indent: 18px;position: absolute;font-size:0%;width: 0%;padding: 15px 0;} As I do not want any text to show on the banner images