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

Moving Category Description?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-28-2005, 08:25 PM
 
drudden drudden is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 66
 

Default Moving Category Description?

Hi,

I've searched through the forums and I found a lot of helpful posts, but I was unable to find the answer to my exact question.

I am trying to move the Category/Subcategory description so it will be shown below the Category/Subcategory Title instead of above the title.

Can someone tell me which file I need to update and which piece of code I need to move? At one point I tried modifing the subcategories.tpl file, but whatever I tried didn't get the job done. I'm pretty certain this is a simple fix, but I am having problems with it.

Any assistance would be appreciated.
__________________
Thanks,

Dan

X-Cart Version 4.3.1
Reply With Quote
  #2  
Old 12-29-2005, 03:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Open subcategories.tpl and replace this:

Code:
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/category_offers_short_list.tpl} {/if} {if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if} {capture name=dialog}

with this:


Code:
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if}{capture name=dialog} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/category_offers_short_list.tpl} {/if} {if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-29-2005, 01:52 PM
 
drudden drudden is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 66
 

Default Thanks!

Thanks for your help. I knew those were the lines I had to modify, but I wasn't 100% sure of where to cut and paste.

Thanks again!
__________________
Thanks,

Dan

X-Cart Version 4.3.1
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 02:17 PM.

   

 
X-Cart forums © 2001-2020