| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Custom Field | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I added a custom field to my products table. I call the value in that field on my product detail page using "{$product.show_dates}. When I save a product in product modify it strips all HTML from that field. Any ideas on how to make it not do that. I basically copied the code from the descr filed which allows HTML
v 4.1.0
__________________
X-Cart v4.4.5 CW Power Filter BCSE Auth.Net CIM module |
|||||||
#2
|
|||||||
|
|||||||
![]() Why not just use Extra fields? In either case you need to add the variable to the trusted list so that html isn't stripped. I believe you can find that code in admin/product_modify.php and provider/product_modify.php
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Using extra fields in another way. I looked for both files you suggested but only found one product_modify.tpl in /main. can't see where you add to a trusted list. Actually looks like the one I want is product_details.tpl i think. Can you be more specific? Thanks
__________________
X-Cart v4.4.5 CW Power Filter BCSE Auth.Net CIM module |
|||||||
#4
|
|||||||
|
|||||||
![]() Sorry, they may have changed something in 4.1, and I'm not going to start using that version until it is stable
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|