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

need help with smarty?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2006, 05:55 AM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default need help with smarty?

Hello All
Hoping someone can help me. I'm sure this is a dumb question but please help. Something happened to my alignment of my text in the
customer/categories.tpl it's not spaced right. Can someone tell me how to fix this. You can see it here under shop for rugs by http://www.express-rugs.com/rugs/brand-names-p-1-c-257.html. any help would be appreciated.
Thank you
__________________
4.1.3
Reply With Quote
  #2  
Old 03-20-2006, 07:08 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

your missing a
tag in the categories.tpl file after the link
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-20-2006, 07:18 AM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

Hello Shan
Thank for the reply. Can you tell me where to put it. Here is my code

{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
<div id="categories">
{if $active_modules.Fancy_Categories ne ""}
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
{else}
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
{if $smarty.get.cat eq $categories[cat_num].categoryid}
{$categories[cat_num].category}
{else}
{$categories[cat_num].category}
{/if}
{/section}
{/if}
{/if}
</div>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories

menu_content=$smarty.capture.menu }

Thank you
__________________
4.1.3
Reply With Quote
  #4  
Old 03-20-2006, 08:20 AM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

Got it thatnk you for your help.
__________________
4.1.3
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 01:58 PM.

   

 
X-Cart forums © 2001-2020