VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: idor on May 15, 2024, 21:58:38 PM

Title: Custom field editor - Content disappears
Post by: idor on May 15, 2024, 21:58:38 PM
Hello

I created a custom field editor with some content in it and when I call it from a product's page, the content disappears.

I use VirtueMart 4.2.5 10938 and Joomla 4.4.1

Any ideas?
Thank you in advance!
Title: Re: Custom field editor - Content disappears
Post by: Milbo on May 16, 2024, 23:18:59 PM
Sounds more so, that you did set a non existing position? Or do you mean, you edit it in the FE and then the textfield is empty?
Title: Re: Custom field editor - Content disappears
Post by: idor on May 17, 2024, 12:09:11 PM
The position is ontop.

I have pre-filled content in custom field´s page
/administrator/index.php?option=com_virtuemart&view=custom&task=edit&virtuemart_custom_id=276
Here there is a screenshot:
https://we.tl/t-USJinpyDTj
but when I call the CustomField from the product´s page (BackEnd) the editor is empty.
Title: Re: Custom field editor - Content disappears
Post by: idor on May 23, 2024, 08:24:04 AM
Hi,
Any idea how to fix this?
Title: Re: Custom field editor - Content disappears
Post by: Milbo on May 23, 2024, 21:48:42 PM
hmmm, maybe too strong filter. What happens if you store a default without html? just something like "test", then we may get a grib of this problem.