View Single Post
  #32  
Old 06-02-2008, 08:38 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Show All Products in Catagory

Quote:
Originally Posted by funkymonkey
I had this coded into 4.1.9. Here's my customer/main/nav in case it helps.

Why is this still not standard in X-Cart?



{* $Id: navigation.tpl,v 1.14 2004/06/24 13:09:51 max Exp $ *}
{if $total_pages gt 2}
<TABLE cellpadding="0" border="0">
<TR height="14">
{if $view_all eq "N" or $view_all eq ""}
<TD nowrap><b><a href="{$navigation_script}&view_all=Y">View All</a></b>&nbsp;&nbsp;&nbsp;</TD>

{section name=page loop=$total_pages start=$start_page}
{if %page.first%}
{if $navigation_page gt 1}
<TD valign="middle"><A href="{$navigation_script}&page={math equation="page-1" page=$navigation_page}">&laquo;&nbsp;Previous</A>&nbsp;&nbsp;</TD>
{/if}
{/if}
{if %page.index% eq $navigation_page}
<TD align="center" title="{$lng.lbl_current_page}: #{%page.index%}">
<span style="color: #f14841;"><B>{%page.index%}</B></span>
</TD>
{else}
{if %page.index% ge 100}
{assign var="cell_width" value="23"}
{assign var="suffix" value="_wide"}
{else}
{assign var="cell_width" value="17"}
{assign var="suffix" value=""}
{/if}
<TD align="center"><A href="{$navigation_script}&page={%page.index%}" style="text-decoration: none" title="{$lng.lbl_page} #{%page.index%}">{%page.index%}</A></TD>
{/if}
{if %page.last%}
{else}
<TD align="center">&nbsp;|&nbsp;</TD>
{/if}
{if %page.last%}
{math equation="pages-1" pages=$total_pages assign="total_pages_minus"}
{if $view_all eq "N" or $view_all eq ""}
{if $navigation_page lt $total_super_pages*$config.Appearance.max_nav_page s}
<TD valign="middle">&nbsp;&nbsp;<A href="{$navigation_script}&page={math equation="page+1" page=$navigation_page}">Next&nbsp;&raquo;</A></TD>
{/if}
{/if}
{/if}
{/section}

</TR></TABLE>
<P>
{else}
<TD nowrap><b><a href="{$navigation_script}&view_all=N">View by Page</a></b>&nbsp;&nbsp;&nbsp;</TD>
</TR></TABLE>
<p>
{/if}
{/if}

Thanks..But a copy and paste into the new version of xcart doesnt appear to work.....

got this error

Parse error: syntax error, unexpected T_STRING in
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote