- Posts: 24
- Thank you received: 0
Front end edit deletes images in custom fields
- KleanZlate
-
Topic Author
- Offline
Less
More
11 years 11 months 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.
11 years 11 months ago #173871
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- KleanZlate
-
Topic Author
- Offline
Less
More
- Posts: 24
- Thank you received: 0
11 years 11 months ago - 11 years 11 months ago #173889
by KleanZlate
Replied by KleanZlate on topic Front end edit deletes images in custom fields
Last edit: 11 years 11 months ago by KleanZlate.
Please Log in or Create an account to join the conversation.
11 years 11 months ago - 11 years 11 months ago #173893
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 11 months 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
11 years 11 months 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.221 seconds