View Single Post
  #4  
Old 10-01-2009, 08:58 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Using Smarty or PHP in cateogry descriptions to reference language strings

Usually best to put any php processing into the php file, but you could do something this in smarty everywhere the description is used in tpl files (i.e. skin1/customer/main/subcategories.tpl}:

{$current_category.description|replace:"##variable ##":`$lng.lbl_my_text`}
Reply With Quote