Originally Posted by
dharrison
Hi David
The tag rendering exists on both text and visual editor.
If you look at the link I sent you can see what it looks like
Yes, HTML editors add tags so you get what you see... The link shows the added tags in product description, then sanitized it on all other tabs. Could be an issues with the template display or how the text fields was saved.. If the new text fields are saving the same as the description field in update_product.php then it may be how the template is reading it into the tabs...
To give me a better idea, can you post just the input lines for the text field and the DB line for the save..
like.. collect_info.php
Code:
<?php echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars((isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE), 'class="editorHook form-control"'); ?>
and update_product.php
Code:
'products_description' => zen_db_prepare_input($_POST['products_description'][$language_id]),
I've not read the entire post, but use many added product fields..
Bookmarks