View Single Post
  #1  
Old 10-01-2009, 08:11 AM
 
thisclicks thisclicks is offline
 

Newbie
  
Join Date: Dec 2006
Posts: 7
 

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

Hi. I want to be able to include a language referecne in my category descriptions. For example I would like to put "$lng.lbl_my_text" in the description tag.

I've thought of doing this a couple ways but neither work. Does anyone know how I can do this.

Here are the ways I've tried it:

Var only:
PHP Code:
$lng.lbl_my_text 

PHP:
PHP Code:
<?php echo "$lng.lbl_my_text"?>

Smarty:
Code:
{php} echo '$lng.lbl_my_text'; {/php}
__________________
-Chad
Reply With Quote