Page 13 of 15 FirstFirst ... 31112131415 LastLast
Results 121 to 130 of 147
  1. #121
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,694
    Plugin Contributions
    123

    Default Re: Set number of products displayed per page (support thread)

    Also, the last call to draw_max_ppp in tpl_modules_product_listing.php is not wrapped in a select call as previous ones are. Suspect this is a bug.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  2. #122
    Join Date
    Feb 2010
    Location
    Syracuse, NY
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by swguy View Post
    Another thing I noticed was that when the "Items per page" selection was made into a dropdown, it seemed to clobber the next/previous links. I think this might be reproduceable on your test site if you set PRODUCT_LISTING_DISPLAY_OPTION to true and look at this page:

    http://zcadditions.com/24/index.php?...&keyword=price
    Not sure what you mean by clobber - may have to do with below reply


    Quote Originally Posted by swguy View Post
    Also, the last call to draw_max_ppp in tpl_modules_product_listing.php is not wrapped in a select call as previous ones are. Suspect this is a bug.
    I made an additional copy/paste error, my demo has altered code for the purpose of showing both links and drop-down and on the second section for the bottom I did not change the DEMO to actual ADMIN CONFIG

    find:
    <?php if (PRODUCT_LISTING_DISPLAY_OPTION_DEMO == 'true') { ?>

    change to:
    <?php if (PRODUCT_LISTING_DISPLAY_OPTION == 'true') { ?>
    Website - Github. Like the ZCA Bootstrap 4 Template? Donations Welcome. Bootstrap Plugins?

  3. #123
    Join Date
    Feb 2010
    Location
    Syracuse, NY
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by swguy View Post
    Also, the last call to draw_max_ppp in tpl_modules_product_listing.php is not wrapped in a select call as previous ones are. Suspect this is a bug.
    Also

    1st call to draw_max_ppp is for top drop-down
    2nd call to draw_max_ppp is for top links
    3rd call to draw_max_ppp is for bottom drop-down
    4th/last call to draw_max_ppp is for bottom links

    2nd and 4th/last should not be wrapped in a select call for they are links.
    Website - Github. Like the ZCA Bootstrap 4 Template? Donations Welcome. Bootstrap Plugins?

  4. #124
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,694
    Plugin Contributions
    123

    Default Re: Set number of products displayed per page (support thread)

    When I said "clobber" I meant "the next/prev links do not appear."
    That Software Guy. My Store: Zen Cart Modifications
    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.

  5. #125
    Join Date
    Feb 2010
    Location
    Syracuse, NY
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by swguy View Post
    When I said "clobber" I meant "the next/prev links do not appear."
    Gotcha, the previous post to fix admin if config should
    take care of that.
    Website - Github. Like the ZCA Bootstrap 4 Template? Donations Welcome. Bootstrap Plugins?

  6. #126
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    Were you ever able to solve this?

    Quote Originally Posted by rbarbour View Post
    Yes it is CEON URI mapping. I revamped a product listing page here: www[DOT]aydincoins[DOT]com/buy-silver/american-silver-eagles/2011-prior-year-silver-eagles-uncirculated?sort=20a&max_display=6

    and had to correct the code within CEON URI mapping.

    I can not remember what I did off the top of my head. I do remember CEON URI mapping wasn't replacing / with ?sort=20a

    I will look through my notes unless someone else can provide the answer before I do.
    Danielle

  7. #127
    Join Date
    Jan 2013
    Posts
    10
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    I have successfully installed this add-on on another site but I have been trying to install it on a new site numerous times with the same result. When installed and I reload my page (cart), the entire page is blank. I have narrowed the issue down to the set_num_products_dd.php page. When I remove it, my page is back again but I don't get the set number of products drop down. Any ideas?

  8. #128
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,694
    Plugin Contributions
    123

    Default Re: Set number of products displayed per page (support thread)

    When you get a blank page, a log is created in the logs directory (1.5.1) or the cache directory (prior releases). Please post the contents of that log.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  9. #129
    Join Date
    Jan 2013
    Posts
    10
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by swguy View Post
    When you get a blank page, a log is created in the logs directory (1.5.1) or the cache directory (prior releases). Please post the contents of that log.
    Sure:

    Invalid arguments passed in .../includes/templates/skate01/templates/tpl_index_product_list.php on line 61

    Which seems odd since line 61 is just one of the stock lines and I haven't changed it:
    61 // draw music_genre_id
    if (isset($_GET['music_genre_id']) && $_GET['music_genre_id'] != '') echo zen_draw_hidden_field('music_genre_id', $_GET['music_genre_id']);

  10. #130
    Join Date
    Jan 2013
    Posts
    10
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    My mistake, I was looking at my oldest log entry. The ones I was getting today was database related. [24-May-2014 14:14:57] PHP Fatal error: 0B_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in .../includes/classes/db/mysql/query_factory.php on line 120


    Quote Originally Posted by khuna View Post
    Sure:

    Invalid arguments passed in .../includes/templates/skate01/templates/tpl_index_product_list.php on line 61

    Which seems odd since line 61 is just one of the stock lines and I haven't changed it:
    61 // draw music_genre_id
    if (isset($_GET['music_genre_id']) && $_GET['music_genre_id'] != '') echo zen_draw_hidden_field('music_genre_id', $_GET['music_genre_id']);

 

 
Page 13 of 15 FirstFirst ... 31112131415 LastLast

Similar Threads

  1. v151 Option to select number of products displayed per page
    By DeeL in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Mar 2013, 03:09 AM
  2. v151 Error after trying to install Set Number of products displayed
    By DeeL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Feb 2013, 07:08 AM
  3. Changing number of products displayed per category
    By dpet102 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2009, 06:45 PM
  4. where to set number of products per page?
    By bronwen in forum Basic Configuration
    Replies: 1
    Last Post: 25 Jul 2007, 11:15 PM
  5. Allow user to set "Number of Products Per Page"?
    By yellow1912 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Apr 2007, 10:59 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