View Single Post
  #8  
Old 05-24-2006, 02:08 PM
 
firelight firelight is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 43
 

Default Javascript in Category Description

Hi,
I tried to modify the two files: admin/product_modify.php and provider/product_modify.php with the following code:
Code:
define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("product_lng_descr","product_lng_full_descr","product_new_descr", "product_new_full_descr","descr","fulldescr","posted_data","js_code", "javascript_code"); define('USE_TRUSTED_SCRIPT_VARS',1);
The description/code still dissapears when I save the changes in my category description.

Am I doing something wrong here?
Thanks in advance for the help.

Xcart 4.0.18
Reply With Quote