bitera Posted June 25, 2006 Share Posted June 25, 2006 Hi, I am trying to add a link next to the Results: 1 2 3 4 5 >> area that allows customers to "View All" items in a given category. The Display would look Like: Result Pages: 1 2 3 4 5 >> View All The Line I have been looking at in product_listing.phg is: <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> The value MAX_DISPLAY_SEARCH_RESULTS could be used I just am not sure how to get it to show all items in a given category on a page. Just started working on it. If anyone has done this I would appreciate your comments. TIA, John -- John Cannon Link to comment Share on other sites More sharing options...
bitera Posted July 30, 2006 Author Share Posted July 30, 2006 Hi, I am trying to add a link next to the Results: 1 2 3 4 5 >> area that allows customers to "View All" items in a given category. The Display would look Like: Result Pages: 1 2 3 4 5 >> View All The Line I have been looking at in product_listing.phg is: <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> The value MAX_DISPLAY_SEARCH_RESULTS could be used I just am not sure how to get it to show all items in a given category on a page. Just started working on it. If anyone has done this I would appreciate your comments. TIA, John Does anyone have any ideas on this? Thanks, John -- John Cannon Link to comment Share on other sites More sharing options...
sharplab Posted July 30, 2006 Share Posted July 30, 2006 Does anyone have any ideas on this? Thanks, John Good question and a good idea! Where can you find the page where that code "MAX_DISPLAY_SEARCH_RESULTS " is defined? I am thinking you could add more code to increase the value and then simply add this to another <td></td> next to the first table data field. Steve Current Contributions: Page Cache, Center Store, Ultimate URL's, Header Tags, Product Description , Image Add To Cart - , Store Cache Link to comment Share on other sites More sharing options...
bitera Posted August 27, 2006 Author Share Posted August 27, 2006 Good question and a good idea! Where can you find the page where that code "MAX_DISPLAY_SEARCH_RESULTS " is defined? I am thinking you could add more code to increase the value and then simply add this to another <td></td> next to the first table data field. Steve It is under /includes/modules/product_listing.php I am still working on this one. Anyone have any ideas or help. It will be greatly appreciated. TIA, John -- John Cannon Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.