Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 78
  1. #61
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Does not work in v157 PHP 7.4, I get a deprecated message. I looked in Github but did not see a fix
    Code:
    PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp73a\htdocs\Zencart157b\catalog\includes\modules\mytemplate\dynamic_filter.php on line 14.
    I tried replacing
    Code:
    while(list($key, $value) = each ($_GET))
    with
    Code:
    while(list($key) = key ($_GET))
    	while(list($value) = current ($_GET))
    Which exhausted my scanty PHP knowledge and did not fix the problem

  2. #62
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    ...dynamic_filter.php on line 14
    This file is not part of product listing sorter.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #63
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,660
    Plugin Contributions
    11

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    yeah, the support thread for said module is here:

    https://www.zen-cart.com/showthread....-Thread/page16

    @marton

    you can try:

    PHP Code:
    // replace
    while(list($key$value) = each ($_GET))
    // with
    foreach ($_GET as $key => $value

    best.
    author of square Webpay. called the savior by the chief bottle washer...
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    available for hire.

  4. #64
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Quote Originally Posted by torvista View Post
    This file is not part of product listing sorter.
    Apologies, I was working on two plugins and got them mixed up

    Anyway, I have a real question!

    Is anybody using this plugin with 157b and PHP7.4?
    I ask because I have some display issues in the product listing and want to check if I screwed up when installing.
    Everything else works fine.

  5. #65
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    As a result of your prompting I'm overhauling this for 157 right now. Yes there are issues.
    I should complete it over the weekend...
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  6. #66
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Quote Originally Posted by carlwhat View Post
    yeah, the support thread for said module is here:

    https://www.zen-cart.com/showthread....-Thread/page16

    @marton

    you can try:

    PHP Code:
    // replace
    while(list($key$value) = each ($_GET))
    // with
    foreach ($_GET as $key => $value

    best.
    Many thanks for your fix which worked fine and was above and beyond the call of duty :)

    Next problem in the correct thread.

  7. #67
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Good news but feeling guilty :)

  8. #68
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    I've updated the Github. Please report issues there.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  9. #69
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Quote Originally Posted by torvista View Post
    I've updated the Github. Please report issues there.
    Your installation instructions say "\includes\functions\extra_functions.php - CORE FILE MODIFICATION to function zen_create_sort_heading".

    I assume "extra_functions.php" is a typo and you mean "functions_general.php" which is the only file there?
    Thanks for

  10. #70
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    I assume "extra_functions.php" is a typo and you mean "functions_general.php" which is the only file there?
    Correct. Thanks for pointing that out.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 
Page 7 of 8 FirstFirst ... 5678 LastLast

Similar Threads

  1. v155 Product Sorter [Support Thread]
    By balihr in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 19 May 2016, 04:35 AM
  2. Replies: 8
    Last Post: 21 Oct 2008, 09:27 PM
  3. remove product listing drop down
    By godt in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Sep 2006, 06:19 AM
  4. Sort Drop Down in Product Listing?
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 May 2006, 07:03 PM

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