View Single Post
  #49  
Old 03-13-2008, 08:16 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: Pure CSS Rounded Boxes! (no images, no tables)

Quote:
Originally Posted by Vacman
Like Paul, I too have the same pagination problem - Check out my site, and go to any of the category listings.

Hi Carl !

I fixed it on my site by doing the following:

In customer/main/subcategories.tpl find this code at the bottom and you'll see where I commented out the last line which is the second navigation.tpl that was showing in the 3rd column.

Quote:
{ include file="customer/main/navigation.tpl" }
{/if}
<hr size="1" width="100%" />
{include file="customer/main/products.tpl" products=$products}
{/if}
{if $products eq "" and $tmp eq "0"}
{$lng.txt_no_products_in_cat}
{/if}
{/capture}
{include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra='width="100%"'}
{if $products eq ""}
{if $f_products ne ""}
<p />
{include file="customer/main/featured.tpl"}
{/if}
{/if}
{* include file="customer/main/navigation.tpl" *}

Next, use the following as the new dialog.tpl file. You can see that I added the include file navigation.tpl back but now it's inside the new dialog.tpl

Quote:
{* $Id: dialog.tpl,v 1.25 2005/12/20 08:50:49 max Exp $ *}
{if $printable ne ''}
{include file="dialog_printable.tpl"}
{else}
<div class="xrounded">
<b class="xtop"><b class="xb1"></b><b class="xb2 color_a">
</b><b class="xb3 color_a"></b><b class="xb4 color_a"></b></b>
<div class="xboxcontent">
<h1 class="color_a">{$title}</h1>
<div>{$content}
&nbsp;</p></div>
<div>
{ include file="customer/main/navigation.tpl" }
</div>
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b>
<b class="xb2"></b><b class="xb1"></b></b>
</div>
{/if}

Let me know if for some reason it does not work for you.

Hope to see you soon!

Paul
__________________
WooCommerce as of 10/2022
Reply With Quote