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?
|