View Single Post
  #119  
Old 03-16-2006, 08:17 AM
 
gargonzo gargonzo is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 171
 

Default

ok here is what i figured out with this "MOD"

Open the CAT you want to work on.. fill in the following fields.. this is so you know which field is which snippet of code below.

category: what you have + TITLE ( this will be the page title )
Description: what you have + DESCRIPTION
push OK/Save

now:

edit subcatagories.tpl
File location: /customer/main/subcategories.tpl

Add the following in your *.TPL

{$current_category.description|escape}

above is same as following:

{$current_category.description|regex_replace:"/[\n]/":""}

to pull in extra keywords or subcat descriptions:

{$subcat.description|escape}

the subcat pulls in descrips from ther subcats as well..

Now paste all that fun stuff into your TPL (subcats) and submit it -- then preview.. you should see everything working.

NOW-- for me to get to this stage.. i had to change the SQL statement as posted further back in this MOD ( page 6 i think ).

Everything is working GREAT.. except on one of my pages i'm getting the above duplicated...will figure it out.. unless someone has a solution.

good luck.

ciao
garz
4.07/php.linux
__________________
xcart ver 4.xx/linux/php
Reply With Quote