[Skip to main content](#vessel-content)

#   Custom field of type wysiwyg will not save iframe

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 1 month ago [\#217313](#217313) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217313 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.3
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

Custom field of type wysiwyg will not save iframe e.g.: Code:

&lt;p&gt;&lt;iframe src="//www.youtube.com/embed/LtfAIBgC5z8?rel=0&amp;amp;wmode=opaque" allowfullscreen="allowfullscreen" frameborder="0" width="425" height="350"&gt;&lt;/iframe&gt;&lt;/p&gt;

The above code is removed when the product is saved.

Saving this content works fine in standard joomla articles.

To rule out the editor I have tested this using no editor with the same results.

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 1 month ago [\#217315](#217315) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217315 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi,

For security reasons, the content of the text entered is cleaned from potentially dangerous tags.
If you don't want that, you can add an entry with the namekey safe_product_description and the value 0 in the hikashop_config table of the database via your phpmyadmin.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 1 month ago [\#217368](#217368) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217368 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi,

I have just tried that but it doesn't work?

I have tried clearing cache / using a different browser but still the iframe content is removed?

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 1 month ago [\#217384](#217384) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217384 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi,

I've tried it on my end but it's working fine.
Wouldn't it come from another plugin on your website messing with that ?

But rather than using direct HTML code, I would rather recommend to use such extension on your website:
[ extensions.joomla.org/extension/osyoutube](http://extensions.joomla.org/extension/osyoutube)
That way, you circumvent any issue with HTML code cleaning for security reasons.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 1 month ago -  11 years 1 month ago [\#217493](#217493) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217493 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi Nicolas,

As it works fine in articles and modules then its unlikely to be anything to do with another plugin?

Thank you for your suggested workaround, however, it doesn't work? Also I would like to get this working correctly as its not just youtube that will be required in the custom fields.

Please see attached screen shot of the DB config. Do you have any other suggestions?

Many thanks,
[ ![hikashop&#95;issue.jpg](/forum/attachment/27086) ](/forum/attachment/27086 "...shop&#95;issue.jpg")

- [ ![hikashop&#95;issue.jpg](/forum/attachment/27086) ](/forum/attachment/27086 "...shop&#95;issue.jpg") [ ](/forum/attachment/27086?download=1 "...shop&#95;issue.jpg")

Last edit: 11 years 1 month ago by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 1 month ago [\#217498](#217498) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217498 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi,

I read too fast your first message. I thought that it was about the product description, not custom fields. For custom fields, you need to turn off the "Input filtering" setting of the setting and such content plugin wouldn't work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 1 month ago [\#217695](#217695) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217695 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

Hi,

Sorry I'm not sure what you mean.

"Input filtering" setting of the setting?

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#217722](#217722) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom field of type wysiwyg will not save iframe](/forum/32-content-creation/879860-custom-field-of-type-wysiwyg-will-not-save-iframe#217722 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi,  Custom field of type wysiwyg will not save iframe e.g.:  The above code is removed when the product is saved.  Saving this content works fine in standard joomla articles.  To rule out the editor I have tested this using no editor with the same results.  Many thanks.")*

[ www.hikashop.com/support/documentation/i...ield-form.html#infos](http://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/42-hikashop-field-form.html#infos)

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc5ODYwLWN1c3RvbS1maWVsZC1vZi10eXBlLXd5c2l3eWctd2lsbC1ub3Qtc2F2ZS1pZnJhbWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.073 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
