Page numbers show on new item page (v. 2.94 Build 1-4)

If Display New is set to First page of new items, and Page Numbers is set to No, when a visitor views New Items, they may see page numbers at the top of the page, even though there should only be one page of new items displayed.

This will be corrected in the next release. For now, you can either choose to show page numbers or show all new items, or use the following changes:

  1. Open the products_pages.php file in the /enc/ folder.

  2. Add the code:

    if ($new == 'yes' AND $varylist['DisplayNew'] == 'first')
    $page_count = 1;

    to the top of the page, just under the code:

    if (file_exists("openinfo.php") OR empty($dataconn))
    die("Cannot open file.");
  3. Save and reload the file.