View Single Post
  #9  
Old 08-29-2006, 05:20 PM
 
lachild lachild is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 92
 

Default Re: Show All Products in Catagory

Thanks for pointing this out...

Heres the updated init.php to fix the admin orders screen and the manufaturers page.

Code:
# # Show All Mod By Westin Shafer for Beach Bums Inc. # if ($_GET['show'] == 'all'){ $config['Appearance']['products_per_page'] = 500; $config['Appearance']['products_per_page_admin'] = 500; $config["Manufacturers"]["manufacturers_per_page"] = 500; }

To turn this off for both the orders screens and the Manufactureres screens go back to the section in /customer/main/navigation.tpl and change this:

Code:
<td>Show All |</td>

To this:

Code:
{if $smarty.server.PHP_SELF ne '/manufacturers.php'} {if $smarty.server.PHP_SELF ne '/admin/orders.php'} {if $smarty.server.PHP_SELF ne '/orders.php'} <td><a href="{$navigation_script}&amp;show=all">View All</a> |</td> {/if} {/if} {/if}
__________________
Westin Shafer
Come Together Technologies
http://www.ComeTogetherTechnologies.com
Reply With Quote