![]() |
Custom Field
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 |
Re: Custom Field
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
|
Re: Custom Field
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
|
Re: Custom Field
Sorry, they may have changed something in 4.1, and I'm not going to start using that version until it is stable :(
|
All times are GMT -8. The time now is 07:33 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.