- Posts: 24
- Thank you received: 0
Front end edit deletes images in custom fields
- KleanZlate
-
Topic Author
- Offline
Less
More
12 years 1 day ago #173868
by KleanZlate
Front end edit deletes images in custom fields was created by KleanZlate
-- url of the page with the problem -- :
www.bros.is/vorulisti/product/1894-smekk...category_pathway-185
-- HikaShop version -- : 2.3.3
-- HikaMarket version -- : 1.4.4
-- Joomla version -- : 3.3.4
-- PHP version -- : 5.5.17
I have a problem with front end editing.
We have a custom field on our product pages with color swatches (imgs)
When I edit a product and hit 'Apply' or 'Save' in the front end all the color images get deleted.
The custom field is a WYSIWYG field.
This happens both with images that I drag & drop and images I upload.
Any way to fix this?
-- HikaShop version -- : 2.3.3
-- HikaMarket version -- : 1.4.4
-- Joomla version -- : 3.3.4
-- PHP version -- : 5.5.17
I have a problem with front end editing.
We have a custom field on our product pages with color swatches (imgs)
When I edit a product and hit 'Apply' or 'Save' in the front end all the color images get deleted.
The custom field is a WYSIWYG field.
This happens both with images that I drag & drop and images I upload.
Any way to fix this?
Please Log in or Create an account to join the conversation.
12 years 1 day ago #173871
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Front end edit deletes images in custom fields
Hi,
Would it be possible to have more details about the custom field configuration and your problem ?
What is delete exactly ? All the content ? Only the images ?
Regards,
Would it be possible to have more details about the custom field configuration and your problem ?
What is delete exactly ? All the content ? Only the images ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- KleanZlate
-
Topic Author
- Offline
Less
More
- Posts: 24
- Thank you received: 0
12 years 1 day ago - 12 years 1 day ago #173889
by KleanZlate
Replied by KleanZlate on topic Front end edit deletes images in custom fields
Last edit: 12 years 1 day ago by KleanZlate.
Please Log in or Create an account to join the conversation.
12 years 1 day ago - 12 years 1 day ago #173893
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Front end edit deletes images in custom fields
Hi,
Please be sure that your custom field does not have "input filtering" activated, this option strip the HTML tags.
Otherwise, there is a fix for HikaMarket but regarding your configuration, I don't think it's linked.
You can edit the file "administrator/components/com_hikamarket/classes/product.php" and replace the line
By
It will fix the loading of the custom field when not visible in the front-end.
Regards,
Please be sure that your custom field does not have "input filtering" activated, this option strip the HTML tags.
Otherwise, there is a fix for HikaMarket but regarding your configuration, I don't think it's linked.
You can edit the file "administrator/components/com_hikamarket/classes/product.php" and replace the line
Code:
$product = $fieldsClass->getInput('product', $oldProduct);
Code:
$product = $fieldsClass->getInput('product', $oldProduct, true, 'data', false, 'all');
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 12 years 1 day ago by Jerome.
The following user(s) said Thank You: KleanZlate
Please Log in or Create an account to join the conversation.
- KleanZlate
-
Topic Author
- Offline
Less
More
- Posts: 24
- Thank you received: 0
12 years 1 day ago #173912
by KleanZlate
Replied by KleanZlate on topic Front end edit deletes images in custom fields
Turning off input filtering worked like a charm. Thank you
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.206 seconds