View Single Post
  #7  
Old 05-20-2006, 02:21 PM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

I know this is an old post, so I hope that someone will reply! I want to be able to put this in the product description:
Code:
{if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl"} {/if}
I tried the fix for the html and it works great but I am still having problems. Here is what I have changed for

provider/product_modify.php
Code:
define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("product_lng","product_new_descr","product_new_full_descr","descr","fulldescr","posted_data","js_code","javascript_code", "param00"); define('USE_TRUSTED_SCRIPT_VARS',1);

admin/product_modify.php
Code:
define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("product_lng","product_new_descr","product_new_full_descr","descr","fulldescr","posted_data","js_code","javascript_code", "param00"); define('USE_TRUSTED_SCRIPT_VARS',1);

So basically all I added was param00 and define('USE_TRUSTED_SCRIPT_VARS',1);. Is there something I am missing?
__________________
X-Cart version 4.0.14
Reply With Quote