View Single Post
  #7  
Old 04-28-2005, 07:04 PM
 
eerobat eerobat is offline
 

Member
  
Join Date: Mar 2005
Posts: 10
 

Default

By default X-Cart removes all HTML tags from extra fields for security reasons.

If you want to add link to your extra fields, please perform following steps :

1. Open '<xcart_root_dir>/provider/product_modify.php' file and replace :

---
$trusted_post_variables = array("product_lng","product_new_descr","product_n ew_full_descr","descr","fulldescr","posted_data"," js_code","javascript_code");
---

with

---
$trusted_post_variables = array("product_lng","product_new_descr","product_n ew_full_descr","descr","fulldescr","posted_data"," js_code","javascript_code","efields");
---

2. Open '<xcart_root_dir>/files/.htaccess' file and replace :

---
<FilesMatch "\.(gif|jpe?g|png|GIF|JPE?G|PNG)$">
Allow from all
</FilesMatch>
Deny from all
---

with

---
<FilesMatch "\.(gif|jpe?g|png|GIF|JPE?G|PNG|mp3|MP3|m3u|M3U)$" >
Allow from all
</FilesMatch>
Deny from all
__________________
Current X-Cart Gold Version Number: 4.4.1
Reply With Quote