View Single Post
  #10  
Old 10-05-2009, 01:20 AM
 
rapsearch rapsearch is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 47
 

Default Re: JavaScript in Category/Product Description?

Hi,

I'm also upping this old thread as i could not find a newer version.

I have the same issue, i wish to embed audio previews in the detailer description field.

I've modified admin and provider/product_modify.php with the code
so i have:

PROVIDER
define("NUMBER_VARS", "shipping_freight,price,list_price,weight");
define('USE_TRUSTED_POST_VARIABLES',1);
$trusted_post_variables = array("product_lng","product_new_descr","product_n ew_full_descr","descr","fulldescr","posted_data"," js_code","efields","javascript_code","param00");
define('USE_TRUSTED_SCRIPT_VARS',1);

&
ADMIN
define("NUMBER_VARS", "shipping_freight,price,list_price,weight");
define('USE_TRUSTED_POST_VARIABLES',1);
$trusted_post_variables = array("product_lng","product_new_descr","product_n ew_full_descr","descr","fulldescr","posted_data"," js_code","efields","javascript_code","param00");
define('USE_TRUSTED_SCRIPT_VARS',1);

But after saving it still ends up blank.. ideas?
__________________
Version: 4.1.10
Server: Apache/mysql
Location: http://www.rapsearch.com/store
Reply With Quote