Page 7 of 7 FirstFirst ... 567
Results 61 to 68 of 68
  1. #61
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    531
    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,255
    Plugin Contributions
    29

    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, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

  3. #63
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,974
    Plugin Contributions
    7

    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.
    #theGoldStandard in IT support
    if you feel so inclined, feel free to send some cake....

  4. #64
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    531
    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,255
    Plugin Contributions
    29

    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, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

  6. #66
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    531
    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
    531
    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,255
    Plugin Contributions
    29

    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, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

 

 
Page 7 of 7 FirstFirst ... 567

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