Page 147 of 152 FirstFirst ... 4797137145146147148149 ... LastLast
Results 1,461 to 1,470 of 1518
  1. #1461
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Responsive Sheffield Blue v2.0

    Quote Originally Posted by spminis View Post
    I've had to switch to Zen's responsive classic template because this template woouldn't work properly with PHP 7. That's too bad.
    Ummm. If you upgraded the individual template files using the current ZC responsive or where not available template default files to compare then it should be possible to continue using the template.

    See the template files at one point were from one or the other template sets. They were modified to some extent to offer some sort of different view. Then other code added in around that to maybe add this or that feature. Meanwhile underneath the code still was basic ZC template file operations code. Well, in many cases, that code needed to be modified to support ever stricter requirements.

    Basically like a plugin is to be incorporated into a template, the template needs to be incorporated into the ZC default files.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #1462
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    hello
    is this template compatible with the last versions of Zencart ?
    Than's for your answer

  3. #1463
    Join Date
    Jul 2012
    Posts
    347
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    Name:  pic.jpg
Views: 201
Size:  17.8 KB
    What would be best way to change footer from older to newer version without replacing all templates files? I looked into current version files but don't see social defines, links and images.

  4. #1464
    Join Date
    Jul 2012
    Posts
    347
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    Trying to remove socail side bar and insert social links/icons n footer like current version.
    Quote Originally Posted by jsarwar View Post
    Name:  pic.jpg
Views: 201
Size:  17.8 KB
    What would be best way to change footer from older to newer version without replacing all templates files? I looked into current version files but don't see social defines, links and images.

  5. #1465
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,606
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    I do have a question,

    If you take a look at this website for an example:

    https://www.smartlivingcompany.com

    This is the company I get my products. But anyways if you look at on a desktop layout you see some links like "Furniture, Outdoor, Lighting, etc." They do have drop down menus.

    Is there a possibility or a why I can have that menu layout instead of one dropdown layout?

  6. #1466
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,463
    Plugin Contributions
    11

    Default Re: Responsive Sheffield Blue v2.0

    If you were to validate the html on that site and found that it had 159 errors and 39 warnings on the main page, would you still like it? If you turned off the display of images and saw what a SE sees, would you still like it?

    No sitemap. Fair mobile friendliness.

    Not trying to beat you up over this. Just saying that a Google search for 'drop down menu in html and css' will give you several options with directions on making them your own -- correctly. Anything from w3schools is great.

    Google 'drop down menu generator' and you'll find several free generators.

    Point is, just because you think it looks pretty doesn't mean it works. Too often one design is over-influenced by one that doesn't really work.

    Open source -- Make it yours

  7. #1467
    Join Date
    Jan 2019
    Location
    UK
    Posts
    113
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    I'm getting a few errors since my host moved me to a new server which has php 7.1. Is anyone able to help with how to address this issue?

    Code:
    --> PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /home/thegluep/public_html/includes/modules/responsive_sheffield_blue/category_row.php:39
    Line 39 of category_row.php contains
    PHP Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' ' ' 'style="width:' $col_width '%;"'

  8. #1468
    Join Date
    Jan 2019
    Location
    UK
    Posts
    113
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    I have the same issue with additional_images.php on line 120, I gather the issue is related the array, but my php knowledge is very basic and I don't know how to change it make it work with php 7.1

    Line 120 of additional images is pretty much the same as category_row.php
    PHP Code:
        $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:' $col_width '%;"'

  9. #1469
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,292
    Plugin Contributions
    125

    Default Re: Responsive Sheffield Blue v2.0

    Quote Originally Posted by CunningStunt2 View Post
    I'm getting a few errors since my host moved me to a new server which has php 7.1. Is anyone able to help with how to address this issue?

    Code:
    --> PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /home/thegluep/public_html/includes/modules/responsive_sheffield_blue/category_row.php:39
    Line 39 of category_row.php contains
    PHP Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' ' ' 'style="width:' $col_width '%;"'
    This error means that the variable in question was initialized as a string rather than an array. So change

    $list_box_contents = '';

    to

    $list_box_contents = array();
    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. #1470
    Join Date
    Jan 2019
    Location
    UK
    Posts
    113
    Plugin Contributions
    0

    Default Re: Responsive Sheffield Blue v2.0

    Thanks for the pointers. I think i've fixed error additional_images.php was generating by upgrading to Lat9's Image Handler 5, which contained the additional_images.php with the variables initialised as an array. But due to my very basic knowledge of php i'm still having a bit or trouble re-formatting the category_row.php line so php 7.1. does not generate an error. I tried to emulate the changes between the formatting on the old additional_images and the new one from IH5 but obviously did not do it right as I broke the site and had to restore category_row.php to the default.

    I also checked the github repository for this file but the lines in question is in the same format as it looks like that file might not be needed in future versions.
    https://github.com/zencart/zencart/b...tegory_row.php


    PHP Code:
    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' ' ' 'style="width:' $col_width '%;"',
                                               
    'text' => '<div class="common-wrap"><a href="' zen_href_link(FILENAME_DEFAULT$cPath_new) . '">' zen_image(DIR_WS_IMAGES $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTHSUBCATEGORY_IMAGE_HEIGHT) . '<br />' $categories->fields['categories_name'] . '</a></div>'); 

 

 

Similar Threads

  1. v151 Responsive Sheffield Blue v1.0
    By picaflor-azul in forum Addon Templates
    Replies: 1159
    Last Post: 23 Apr 2023, 01:20 AM
  2. v155 Responsive Classic vs Responsive Sheffield Blue vs ?
    By Zean in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 May 2016, 07:01 AM
  3. v154 Responsive Sheffield Blue change menu links
    By Annie_zaz in forum Addon Templates
    Replies: 3
    Last Post: 7 May 2016, 11:33 PM
  4. v154 Responsive Sheffield Blue v.2.0 Pricing not showing
    By SilverHD in forum Addon Templates
    Replies: 13
    Last Post: 4 Nov 2015, 10:57 PM
  5. v154 Questions re: Responsive Sheffield Blue
    By dfontana in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Aug 2015, 02:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR