Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Page Title

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-15-2002, 12:11 PM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default Page Title

Okay, I got a tiny problem here. Take a look at this page:
http://www.headsetinnovations.com/cart/customer/home.php?cat=248
It has headset tops listed Twice, One center and one left Bold.

I just want it to be bold center (same with all the other pages)
Here in my code for subcategories.tpl

Code:
{* $Id: subcategories.tpl,v 1.21 2002/09/10 12:36:34 zorg Exp $ *} {if ($page eq "")||($page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if} {capture name=dialog} {if $subcategories} [img]../icon.php?categoryid={$cat}[/img] {/if} {if $current_category.categoryid eq 248} {include file="inc/tops.inc"} {else} {section name=cat_num loop=$subcategories} { if %cat_num.first% } <table border=0 cellspacing=5> {/if} <tr><td align=left nowrap width=95%> <font class="TableCenterSubCategoryListTitleBlue">{ $subcategories[cat_num].category|escape }</font> </td> <td align=right nowrap><font class="TableCenterSubCategoryListQuantityBlue">{ $subcategories[cat_num].product_count } {$lng.lbl_products}</font></td> </tr> { if %cat_num.last% } </table> {/if} {/section} {/if} {if $subcategories ne "" and $products ne ""} <hr size=1 noshade> {/if} {include file="customer/main/products.tpl" products=$products} {if $products eq "" and $subcategories eq ""} {$lng.txt_no_products_in_cat} {/if} {/capture} {include file="dialog.tpl" title=$current_category.category|regex_replace:"/.*\//":"" content=$smarty.capture.dialog extra="width=100%"} {if $products eq ""} {if $f_products ne ""} {include file="customer/main/featured.tpl"} {/if} {/if}
Reply With Quote
  #2  
Old 12-18-2002, 03:58 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

I guess this had been fixed - but nice mods !!

Glad you got them all working.

One question - is the jump menu populated from the database or have you hard coded this?
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 12-18-2002, 10:38 AM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

Thats going to be hardcoded once everything is added in. But, would you have an idea on how to make it populate on its own?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:30 AM.

   

 
X-Cart forums © 2001-2020